messages.BotResults
- class pyrogram.raw.types.messages.BotResults
Result of a query to an inline bot
Constructor of
BotResults
.- Details:
Layer:
194
ID:
E021F2F6
- Parameters:
query_id (
int
64-bit
) – Query IDresults (List of
BotInlineResult
) – The resultscache_time (
int
32-bit
) – Caching validity of the resultsusers (List of
User
) – Users mentioned in the resultsgallery (
bool
, optional) – Whether the result is a picture gallerynext_offset (
str
, optional) – The next offset to use when navigating through resultsswitch_pm (
InlineBotSwitchPM
, optional) – Shown 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_webview (
InlineBotWebView
, optional) – Shown as a button on top of the remaining inline result list; if clicked, opens the specified inline mode mini app.
- Functions:
This object can be returned by 1 function.
Query an inline bot