messages.getBotCallbackAnswer
Press an inline callback button and get a callback answer from the bot
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
game | true | Nein | Whether this is a "play game" button |
peer | InputPeer | Ja | Where was the inline keyboard sent |
msg_id | int | Ja | ID of the Message with the inline keyboard |
data | bytes | Nein | Callback data |
password | InputCheckPasswordSRP | Nein | For buttons [requiring you to verify your identity with your 2FA password](https://core.telegram.org/constructor/keyboardButtonCallback.md), the SRP payload generated using [SRP](https://core.telegram.org/api/srp.md). |
Antworten
messages.BotCallbackAnswer
MTProto RPC
- 400 · BOT_RESPONSE_TIMEOUT – Beim Abrufen von Daten vom Bot ist eine Zeitüberschreitung aufgetreten.
- 400 · CHANNEL_INVALID – Der angegebene Kanal ist ungültig.
- 400 · CHANNEL_PRIVATE — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.
- 400 · DATA_INVALID – Verschlüsselte Daten ungültig.
- 400 · MESSAGE_ID_INVALID – Die angegebene Nachrichten-ID ist ungültig.
- 400 · MSG_ID_INVALID – Ungültige Nachrichten-ID angegeben.
- 400 · PASSWORD_MISSING – Sie müssen [2FA](https://core.telegram.org/api/srp.md) aktivieren, bevor Sie diesen Vorgang ausführen.
- 400 · PEER_ID_INVALID – Die angegebene Peer-ID ist ungültig.