MadelineProtoDocs/old_docs/API_docs_v82/constructors/updateBotWebhookJSONQuery.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.0 KiB

title description image
updateBotWebhookJSONQuery Update bot webhook json query https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateBotWebhookJSONQuery

Back to constructors index

Update bot webhook json query

Attributes:

Name Type Required Description
query_id long Yes Query ID
data DataJSON Yes Data
timeout int Yes Timeout

Type: Update

Example:

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

PWRTelegram json-encoded version:

{"_": "updateBotWebhookJSONQuery", "query_id": long, "data": DataJSON, "timeout": int}

Or, if you're into Lua:

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