Interface UpdateNewWidgetQuery

A new incoming widget query; for bots only. Subtype of Update.

interface UpdateNewWidgetQuery {
    @type: "updateNewWidgetQuery";
    chat_id: number;
    chat_instance: string;
    chat_type: string;
    data: string;
    id: string;
    message_id: number;
    query_type: WidgetQueryType;
    sender_user_id: number;
    wallet_card: TonWalletCard;
    widget_id: string;
}

Properties

@type: "updateNewWidgetQuery"
chat_id: number

Identifier of the chat where the query was sent.

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.

message_id: number

Identifier of the 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.