Type alias PollEventHandlerMap

PollEventHandlerMap: {
    Poll.Destroy: ((pollIdentifier: string) => void);
    Poll.Responses: ((responses: Relations) => void);
    Poll.UndecryptableRelations: ((count: number) => void);
    Poll.end: (() => void);
    Poll.update: ((event: MatrixEvent, poll: Poll) => void);
}

Type declaration

  • Poll.Destroy: ((pollIdentifier: string) => void)
      • (pollIdentifier: string): void
      • Parameters

        • pollIdentifier: string

        Returns void

  • Poll.Responses: ((responses: Relations) => void)
  • Poll.UndecryptableRelations: ((count: number) => void)
      • (count: number): void
      • Parameters

        • count: number

        Returns void

  • Poll.end: (() => void)
      • (): void
      • Returns void

  • Poll.update: ((event: MatrixEvent, poll: Poll) => void)

Generated using TypeDoc