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

    Interface SetWebhookOptions

    interface SetWebhookOptions {
        allowed_updates?: string[];
        certificate?: InputFile;
        drop_pending_updates?: boolean;
        ip_address?: string;
        max_connections?: number;
        secret_token?: string;
        url: string;
    }
    Index
    allowed_updates?: string[]

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

    certificate?: InputFile

    Upload your public key certificate so that the root certificate in use can be checked.

    drop_pending_updates?: boolean

    Pass True to drop all pending updates.

    ip_address?: string

    The fixed IP address which will be used to send webhook requests.

    max_connections?: number

    The maximum allowed number of simultaneous HTTPS connections to the webhook for update delivery, 1-100. Defaults to 40.

    secret_token?: string

    A secret token to be sent in a header 'X-Telegram-Bot-Api-Secret-Token' in every webhook request, 1-256 characters.

    url: string

    HTTPS URL to send updates to. Use an empty string to remove webhook integration.