MadelineProtoDocs/old_docs/API_docs_v71/constructors/updateBotWebhookJSONQuery.md
2019-12-27 17:48:04 +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}