Interface UpdateNewInlineWidgetQuery

A new incoming widget query from a message sent via a bot; for bots only. Subtype of Update.

interface UpdateNewInlineWidgetQuery {
    @type: "updateNewInlineWidgetQuery";
    chat_instance: string;
    chat_type: string;
    data: string;
    id: string;
    inline_message_id: string;
    query_type: WidgetQueryType;
    sender_user_id: number;
    wallet_card: TonWalletCard;
    widget_id: string;
}

Properties

@type: "updateNewInlineWidgetQuery"
chat_instance: string

Identifier that uniquely corresponds to the chat to which the message was sent.

chat_type: string

Type of the chat to which the message was sent.

data: string

Data of the query.

id: string

Unique query identifier.

inline_message_id: string

Identifier of the inline message from which the query originated.

query_type: WidgetQueryType

Type of the query.

sender_user_id: number

Identifier of the user who sent the query.

wallet_card: TonWalletCard

TON wallet card of the user who sent the query; may be null if none.

widget_id: string

Identifier of the shared widget from which the query originated; 0 if the widget isn't shared.