1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-04 18:57:49 +01:00
MadelineProto/old_docs/API_docs_v68/constructors/updateBotWebhookJSONQuery.md

45 lines
913 B
Markdown
Raw Normal View History

2017-07-23 17:44:01 +02:00
---
title: updateBotWebhookJSONQuery
description: updateBotWebhookJSONQuery attributes, type and example
---
## Constructor: updateBotWebhookJSONQuery
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
2017-08-20 11:05:56 +02:00
|----------|---------------|----------|
2017-07-23 17:44:01 +02:00
|query\_id|[long](../types/long.md) | Yes|
|data|[DataJSON](../types/DataJSON.md) | Yes|
|timeout|[int](../types/int.md) | Yes|
### Type: [Update](../types/Update.md)
### Example:
```
$updateBotWebhookJSONQuery = ['_' => 'updateBotWebhookJSONQuery', 'query_id' => long, 'data' => DataJSON, 'timeout' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) 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}
```