messages.setBotCallbackAnswer
Set the callback answer to a user button press (bots only)
Example
TL schema
Parameters
Name | Type | Description |
flags | Flags, see TL conditional fields | |
alert | Whether to show the message as a popup instead of a toast notification | |
query_id | Query ID | |
message | Popup to show | |
url | URL to open | |
cache_time | Cache validity |
Result
Possible errors
Code | Type | Description |
400 | QUERY_ID_INVALID | The query ID is invalid |
400 | URL_INVALID | Invalid URL provided |
Can bots use this methd ?
yes
Related pages
Last updated