Skip to main content

messages.botResults

Result of a query to an inline bot

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

Fields

NameTypeRequiredDescription
GalleryboolWhether the result is a picture gallery
QueryIDint64yesQuery ID
NextOffsetstringThe next offset to use when navigating through results
SwitchPmInlineBotSwitchPMShown 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.
SwitchWebviewInlineBotWebViewShown as a button on top of the remaining inline result list; if clicked, opens the specified inline mode mini app.
Results[]BotInlineResultClassyesThe results
CacheTimeintyesCaching validity of the results
Users[]UserClassyesUsers mentioned in the results

Returned by

References