Interface ClientEvents

Hierarchy

  • ClientEvents

Properties

collector: ((state: CollectorEventState, collector: MessageCollector) => void | Promise<void>)

Type declaration

logout: (() => void | Promise<void>)

Type declaration

message: ((context: Context) => void | Promise<void>)

Type declaration

poll: ((poll: PollCreateEventData, ctx: Context) => void | Promise<void>)

Type declaration

qr: ((code: string) => void | Promise<void>)

Type declaration

    • (code: string): void | Promise<void>
    • Parameters

      • code: string

      Returns void | Promise<void>

ready: (() => void | Promise<void>)

Type declaration

vote: ((vote: PollVoteEventData, ctx: Context) => void | Promise<void>)

Type declaration

Generated using TypeDoc