Type alias PollEventHandlerMap

PollEventHandlerMap: {
    Poll.Destroy: ((pollIdentifier: string) => void);
    Poll.Responses: ((responses: Relations) => 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.end: (() => void)
      • (): void
      • Returns void

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

Generated using TypeDoc