messages.getBotCallbackAnswer
Press an inline callback button and get a callback answer from the bot
Example
TL schema
Parameters
Name
Type
Description
flags
game
Whether this is a "play game" button
peer
Where was the inline keyboard sent
msg_id
ID of the Message with the inline keyboard
data
Callback data
password
Result
Possible errors
Code
Type
Description
400
BOT_RESPONSE_TIMEOUT
A timeout occurred while fetching data from the bot
400
CHANNEL_INVALID
The provided channel is invalid
400
CHANNEL_PRIVATE
You haven't joined this channel/supergroup
400
DATA_INVALID
Encrypted data invalid
400
MESSAGE_ID_INVALID
The provided message id is invalid
400
PEER_ID_INVALID
The provided peer id is invalid
-503
Timeout
Timeout while fetching data
Can bots use this methd ?
yes
Related pages
Callback button
How to login to a user's account if they have enabled 2FA, how to change password.
Last updated
Was this helpful?