SharedWidgetQuery
This object represents an incoming query from a forwarded message with a shared widget created by the bot. Use answerWidgetQuery to answer the query. Each user can send at most 5 queries per 5 seconds to the bot from all its widgets.
Properties
id
ts
id: string;Unique identifier for this query
from
ts
from: User;Sender
type
ts
type: WidgetQueryType;Type of the query
data
ts
data: string;Data of the query, 1-64 bytes
widget_id
ts
widget_id: string;Unique identifier of the shared widget, which sent the query