messages.setBotCallbackAnswer
Set the callback answer to a user button press (bots only)
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
alert | true | لأ | Whether to show the message as a popup instead of a toast notification |
query_id | long | أيوه | معرف الاستعلام |
message | string | لأ | Popup to show |
url | string | لأ | URL للفتح |
cache_time | int | أيوه | Cache validity |
الردود
Bool
MTProto RPC
- 400 · MESSAGE_TOO_LONG — The provided message is too long.
- 400 · QUERY_ID_INVALID — The query ID is invalid.
- 400 · URL_INVALID — Invalid URL provided.
- 400 · USER_BOT_REQUIRED — This method can only be called by a bot.