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

    Interface SendSharedWidgetOptions

    Options for Bot.sendSharedWidget.

    interface SendSharedWidgetOptions {
        allow_paid_broadcast?: boolean;
        caption?: string;
        caption_entities?: MessageEntity[];
        chat_data?: string;
        chat_id: string | number;
        disable_notification?: boolean;
        message_effect_id?: string;
        message_thread_id?: number;
        parse_mode?: string;
        protect_content?: boolean;
        reply_markup?: ReplyMarkup;
        reply_parameters?: ReplyParameters;
        show_caption_above_media?: boolean;
        widget_id: string;
    }
    Index
    allow_paid_broadcast?: boolean

    Pass True to allow up to 1000 messages per second.

    caption?: string

    Caption of the widget message.

    caption_entities?: MessageEntity[]

    List of special entities that appear in the caption.

    chat_data?: string

    Chat-specific data of the widget.

    chat_id: string | number

    Unique identifier for the target chat or username of the target channel.

    disable_notification?: boolean

    Sends the message silently.

    message_effect_id?: string

    Unique identifier of the message effect to be added to the message.

    message_thread_id?: number

    Unique identifier for the target message thread (topic) of a forum supergroup.

    parse_mode?: string

    Mode for parsing entities in the caption.

    protect_content?: boolean

    Protects the contents of the sent message from forwarding and saving.

    reply_markup?: ReplyMarkup

    Additional interface options.

    reply_parameters?: ReplyParameters

    Description of the message to reply to.

    show_caption_above_media?: boolean

    Pass True if the caption must be shown above the widget.

    widget_id: string

    Unique identifier of the shared widget.