Chat where the widget message was sent
Type of the chat where the widget message was sent
Data sent by the widget
Note that this field is defined by the widget running on the client, and a bad client can send arbitrary data in this field.
data parsed as a UTF8 string
ID of this query, to be used in TelegramClient.answerWidgetQuery
ID of the message containing the widget
Wallet from the user's profile, only available when the widget explicitly asked for it (see WidgetQueryType)
Type of the query
Unique ID, that represents the chat to which the message was sent. Does not contain actual chat ID.
User who has sent the query
ID of the shared widget, if the widget is a shared one
Answer to this widget query
Optionalresult: stringEdit state of the widget in the message the query originated from
Get the message containing the widget.
Note that the message may have been deleted, in which case
null will be returned.
Context of a widget query update.
This is a subclass of WidgetQuery, so all its fields are also available.