Callback answer sent by the bot in response to a button press
Constructor schema is available as of layer 54. Switch ยป
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
alert | flags.1?true | Whether an alert should be shown to the user instead of a toast notification |
has_url | flags.3?true | Whether an URL is present |
native_ui | flags.4?true | Whether to show games in WebView or in native UI. |
message | flags.0?string | Alert to show |
url | flags.2?string | URL to open |
cache_time | int | For how long should this answer be cached |