telegram api constructor · layer 229 · #e021f2f6

messages.botResults

Result of a query to an inline bot

definition

messages.botResults#e021f2f6 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM switch_webview:flags.3?InlineBotWebView results:Vector<BotInlineResult> cache_time:int users:Vector<User> = messages.BotResults;

parameters

nametypedescription
flags#Flags, see TL conditional fields
galleryflags.0?trueWhether the result is a picture gallery
query_idlongQuery ID
next_offsetflags.1?stringThe next offset to use when navigating through results
switch_pmflags.2?InlineBotSwitchPMShown as a button on top of the remaining inline result list; if clicked, redirects the user to a private chat with the bot with the specified start parameter.
switch_webviewflags.3?InlineBotWebViewShown as a button on top of the remaining inline result list; if clicked, opens the specified inline mode mini app.
resultsVector<BotInlineResult>The results
cache_timeintCaching validity of the results
usersVector<User>Users mentioned in the results

type

messages.BotResults

history

present in layers 46–229 · constructor id changed 3×

idlayers
#1170b0a346
#ccd3563d62–71
#947ca84872–153
#e021f2f6154–229