MadelineProtoDocs/old_docs/API_docs_v95/constructors/updateBotCallbackQuery.md

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
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'];

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'}