messages.BotResults#
- class pyrogram.raw.types.messages.BotResults#
Result of a query to an inline bot.
Constructor of
BotResults
.- Details:
Layer:
158
ID:
E021F2F6
- Parameters:
query_id (
int
64-bit
) – Query ID.results (List of
BotInlineResult
) – The results.cache_time (
int
32-bit
) – Caching validity of the results.users (List of
User
) – Users mentioned in the results.gallery (
bool
, optional) – Whether the result is a picture gallery.next_offset (
str
, optional) – The next offset to use when navigating through results.switch_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.