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

1.5 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
chat_instance long Yes Chat instance
data bytes Optional Data
game_short_name string Optional Game short name

Type: Update

Example:

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

PWRTelegram json-encoded version:

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

Or, if you're into Lua:

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