2019-09-13 17:13:55 +02:00
|
|
|
---
|
|
|
|
title: updateBotShippingQuery
|
2019-12-27 17:48:04 +01:00
|
|
|
description: This object contains information about an incoming shipping query.
|
2019-09-13 17:13:55 +02:00
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
|
|
---
|
|
|
|
# Constructor: updateBotShippingQuery
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-12-27 17:48:04 +01:00
|
|
|
This object contains information about an incoming shipping query.
|
2019-09-13 17:13:55 +02:00
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|---------------|----------|-------------|
|
2019-12-27 17:48:04 +01:00
|
|
|
|query\_id|[long](../types/long.md) | Yes|Unique query identifier|
|
|
|
|
|user\_id|[int](../types/int.md) | Yes|User who sent the query|
|
|
|
|
|payload|[bytes](../types/bytes.md) | Yes|Bot specified invoice payload|
|
|
|
|
|shipping\_address|[PostAddress](../types/PostAddress.md) | Yes|User specified shipping address|
|
2019-09-13 17:13:55 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [Update](../types/Update.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```php
|
|
|
|
$updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, 'user_id' => int, 'payload' => 'bytes', 'shipping_address' => PostAddress];
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
```lua
|
|
|
|
updateBotShippingQuery={_='updateBotShippingQuery', query_id=long, user_id=int, payload='bytes', shipping_address=PostAddress}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|