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

    Interface Widget

    Represents an HTML widget in a message.

    interface Widget {
        chat_data?: string;
        height?: number;
        html: string;
        id?: string;
        public_data?: string;
        width?: number;
    }
    Index
    chat_data?: string

    Chat-specific data of the widget, if any.

    height?: number

    Height of the widget in pixels.

    html: string

    HTML content of the widget.

    id?: string

    Unique identifier of the shared widget, if shared.

    public_data?: string

    Public data of the widget, if any.

    width?: number

    Width of the widget in pixels.