telegram api constructor · layer 229 · #36585ea4

messages.botCallbackAnswer

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

definition

messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true native_ui:flags.4?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer;

parameters

nametypedescription
flags#Flags, see TL conditional fields
alertflags.1?trueWhether an alert should be shown to the user instead of a toast notification
has_urlflags.3?trueWhether an URL is present
native_uiflags.4?trueWhether to show games in WebView or in native UI.
messageflags.0?stringAlert to show
urlflags.2?stringURL to open
cache_timeintFor how long should this answer be cached

type

messages.BotCallbackAnswer

history

present in layers 62–229

idlayers
#36585ea462–229