1.3 KiB
1.3 KiB
title | description | image |
---|---|---|
messages.botCallbackAnswer | Bot callback answer | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: messages.botCallbackAnswer
Bot callback answer
Attributes:
Name | Type | Required | Description |
---|---|---|---|
alert | Bool | Optional | Alert? |
has_url | Bool | Optional | Has URL? |
message | string | Optional | Message |
url | string | Optional | URL |
cache_time | int | Yes | Cache time |
Type: messages_BotCallbackAnswer
Example:
$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => 'string', 'url' => 'string', 'cache_time' => int];
PWRTelegram json-encoded version:
{"_": "messages.botCallbackAnswer", "alert": Bool, "has_url": Bool, "message": "string", "url": "string", "cache_time": int}
Or, if you're into Lua:
messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message='string', url='string', cache_time=int}