Skip to main content

messages.botCallbackAnswer

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

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

Fields

NameTypeRequiredDescription
AlertboolWhether an alert should be shown to the user instead of a toast notification
HasURLboolWhether an URL is present
NativeUIboolWhether to show games in WebView or in native UI.
MessagestringAlert to show
URLstringURL to open
CacheTimeintyesFor how long should this answer be cached

Returned by

References