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}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.