1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-04 10:07:47 +01:00
MadelineProto/docs/API_docs/constructors/updateBotShippingQuery.md
2017-07-23 16:11:02 +02:00

1.0 KiB

title description
updateBotShippingQuery updateBotShippingQuery attributes, type and example

Constructor: updateBotShippingQuery

Back to constructors index

Attributes:

Name Type Required
query_id long Yes
user_id int Yes
payload bytes Yes
shipping_address PostAddress Yes

Type: Update

Example:

$updateBotShippingQuery = ['_' => 'updateBotShippingQuery', 'query_id' => long, 'user_id' => int, 'payload' => bytes, 'shipping_address' => PostAddress, ];

PWRTelegram 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, }