mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 14:06:55 +01:00
46 lines
1.0 KiB
Markdown
46 lines
1.0 KiB
Markdown
---
|
|
title: updateBotShippingQuery
|
|
description: updateBotShippingQuery attributes, type and example
|
|
---
|
|
## Constructor: updateBotShippingQuery
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required |
|
|
|----------|---------------|----------|
|
|
|query\_id|[long](../types/long.md) | Yes|
|
|
|user\_id|[int](../types/int.md) | Yes|
|
|
|payload|[bytes](../types/bytes.md) | Yes|
|
|
|shipping\_address|[PostAddress](../types/PostAddress.md) | Yes|
|
|
|
|
|
|
|
|
### Type: [Update](../types/Update.md)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, 'user_id' => int, 'payload' => 'bytes', 'shipping_address' => PostAddress];
|
|
```
|
|
|
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
|
|
|
```
|
|
{"_": "updateBotShippingQuery", "query_id": long, "user_id": int, "payload": "bytes", "shipping_address": PostAddress}
|
|
```
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
```
|
|
updateBotShippingQuery={_='updateBotShippingQuery', query_id=long, user_id=int, payload='bytes', shipping_address=PostAddress}
|
|
|
|
```
|
|
|
|
|