gampang - v2.3.7
    Preparing search index...

    Interface ClientEvents

    interface ClientEvents {
        collector: (
            state: CollectorEventState,
            collector: MessageCollector,
        ) => void | Promise<void>;
        logout: () => void | Promise<void>;
        message: (context: Context) => void | Promise<void>;
        poll: (poll: PollCreateEventData, ctx: Context) => void | Promise<void>;
        qr: (code: string) => void | Promise<void>;
        ready: () => void | Promise<void>;
        vote: (vote: PollVoteEventData, ctx: Context) => void | Promise<void>;
    }
    Index

    Properties

    collector: (
        state: CollectorEventState,
        collector: MessageCollector,
    ) => void | Promise<void>
    logout: () => void | Promise<void>
    message: (context: Context) => void | Promise<void>
    poll: (poll: PollCreateEventData, ctx: Context) => void | Promise<void>
    qr: (code: string) => void | Promise<void>
    ready: () => void | Promise<void>
    vote: (vote: PollVoteEventData, ctx: Context) => void | Promise<void>