messages.botCallbackAnswer
Callback answer sent by the bot in response to a button press
type tg.MessagesBotCallbackAnswer struct { /* ... */ }
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Alert | bool | — | Whether an alert should be shown to the user instead of a toast notification |
HasURL | bool | — | Whether an URL is present |
NativeUI | bool | — | Whether to show games in WebView or in native UI. |
Message | string | — | Alert to show |
URL | string | — | URL to open |
CacheTime | int | yes | For how long should this answer be cached |
Returned by
References
- Official documentation
- Generated Go reference
- TL definition:
messages.botCallbackAnswer#36585ea4