SharedWidgetQuery¶
- class pyrogram.types.SharedWidgetQuery[source]¶
An incoming query from a forwarded message with a shared widget created by the bot. Use
answer_widget_query()to answer the query.- Parameters:
id (
str) – Unique identifier for this query.from_user (
User) – Sender.type (
WidgetQueryType) – Type of the query.data (
str|bytes) – Data of the query, 1-64 bytes.widget_id (
str) – Unique identifier of the shared widget, which sent the query.