Type Alias PollEventHandlerMap

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

Type declaration

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