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

    Interface GetUpdatesOptions

    interface GetUpdatesOptions {
        allowed_updates?: string[];
        limit?: number;
        offset?: number;
        timeout?: number;
    }
    Index
    allowed_updates?: string[]

    A list of the update types you want your bot to receive.

    limit?: number

    Limits the number of updates to be retrieved. Values between 1-100 are accepted. Defaults to 100.

    offset?: number

    Identifier of the first update to be returned. Must be greater by one than the highest among the identifiers of previously received updates.

    timeout?: number

    Timeout in seconds for long polling. Defaults to 0, i.e. usual short polling. Should be positive for short polling.