MadelineProtoDocs/old_docs/API_docs_v109/constructors/updateBotWebhookJSONQuery.md
2020-03-06 12:24:14 +01: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}