messages.setBotCallbackAnswer
Set the callback answer to a user button press (bots only)
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
alert | true | Nein | Whether to show the message as a popup instead of a toast notification |
query_id | long | Ja | Abfrage-ID |
message | string | Nein | Popup to show |
url | string | Nein | URL zum Öffnen |
cache_time | int | Ja | Cache validity |
Antworten
Bool
MTProto RPC
- 400 · MESSAGE_TOO_LONG – Die bereitgestellte Nachricht ist zu lang.
- 400 · QUERY_ID_INVALID – Die Abfrage-ID ist ungültig.
- 400 · URL_INVALID — Invalid URL provided.
- 400 · USER_BOT_REQUIRED — Diese Methode kann nur von einem Bot aufgerufen werden.