MadelineProtoDocs/old_docs/API_docs_v21/constructors/updateBotShippingQuery.md
2020-06-16 17:50:25 +02:00

1.1 KiB

title description image
updateBotShippingQuery This object contains information about an incoming shipping query. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateBotShippingQuery

Back to constructors index

This object contains information about an incoming shipping query.

Attributes:

Name Type Required Description
query_id long Yes Unique query identifier
user_id int Yes User who sent the query
payload bytes Yes Bot specified invoice payload
shipping_address PostAddress Yes User specified shipping address

Type: Update

Example:

$updateBotShippingQuery = ['_' => '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}