MadelineProtoDocs/old_docs/API_docs_v51/constructors/updateBotCallbackQuery.md

999 B

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

Or, if you're into Lua:

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