MadelineProtoDocs/old_docs/API_docs_v53/constructors/updateBotCallbackQuery.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.2 KiB

title description image
updateBotCallbackQuery Update bot callback query https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateBotCallbackQuery

Back to constructors index

Update bot callback query

Attributes:

Name Type Required Description
query_id long Yes Query ID
user_id int Yes User ID
peer Peer Yes Peer
msg_id int Yes Msg ID
data bytes Yes Data

Type: Update

Example:

$updateBotCallbackQuery = ['_' => 'updateBotCallbackQuery', 'query_id' => long, 'user_id' => int, 'peer' => Peer, 'msg_id' => int, 'data' => 'bytes'];

PWRTelegram json-encoded version:

{"_": "updateBotCallbackQuery", "query_id": long, "user_id": int, "peer": Peer, "msg_id": int, "data": {"_": "bytes", "bytes":"base64 encoded bytes"}}

Or, if you're into Lua:

updateBotCallbackQuery={_='updateBotCallbackQuery', query_id=long, user_id=int, peer=Peer, msg_id=int, data='bytes'}