MadelineProtoDocs/old_docs/API_docs_v30/constructors/updateBotWebhookJSONQuery.md
2020-06-16 17:50:25 +02:00

919 B

title description image
updateBotWebhookJSONQuery A new incoming query; for bots only https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateBotWebhookJSONQuery

Back to constructors index

A new incoming query; for bots only

Attributes:

Name Type Required Description
query_id long Yes Query identifier
data DataJSON Yes Query data
timeout int Yes Query timeout

Type: Update

Example:

$updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => long, 'data' => DataJSON, 'timeout' => int];

Or, if you're into Lua:

updateBotWebhookJSONQuery={_='updateBotWebhookJSONQuery', query_id=long, data=DataJSON, timeout=int}