Documentation - v0.32.8
    Preparing search index...

    Interface InputMediaSharedWidget

    A previously created shared widget to be sent (bots only)

    interface InputMediaSharedWidget {
        caption?: InputText;
        chatData?: string;
        type: "shared_widget";
        widgetId: Long;
    }

    Hierarchy (View Summary)

    Index

    Properties

    caption?: InputText

    Caption of the media

    chatData?: string

    Initial chat-specific state of the widget (up to 1024 bytes)

    type: "shared_widget"
    widgetId: Long

    ID of the shared widget