telebot-ts API Documentation - v1.0.0
    Preparing search index...

    Interface PollingLoopOptions

    Options for long-polling loop.

    interface PollingLoopOptions {
        allowed_updates?: string[];
        drop_pending_updates?: boolean;
        poll_interval?: number;
        timeout?: number;
    }
    Index
    allowed_updates?: string[]

    List of update types to receive (e.g. ["message", "callback_query"]).

    drop_pending_updates?: boolean

    Whether to drop updates pending from when bot was offline (default: false).

    poll_interval?: number

    Milliseconds to wait between polling requests (default: 0).

    timeout?: number

    Timeout in seconds for long polling wait on Telegram servers (default: 10).