Skip to main content

messages.botCallbackAnswer

Callback answer sent by the bot in response to a button press

type tg.MessagesBotCallbackAnswer struct { /* ... */ }

Fields​

NameTypeRequiredDescription
Alertbool—Whether an alert should be shown to the user instead of a toast notification
HasURLbool—Whether an URL is present
NativeUIbool—Whether to show games in WebView or in native UI.
Messagestring—Alert to show
URLstring—URL to open
CacheTimeintyesFor how long should this answer be cached

Returned by​

References​