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
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
gallery | true | Whether the result is a picture gallery |
query_id | long | Query ID |
next_offset | string | The next offset to use when navigating through results |
switch_pm | InlineBotSwitchPM | 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 | Shown as a button on top of the remaining inline result list; if clicked, opens the specified inline mode mini app. |
results | Vector<BotInlineResult> | The results |
cache_time | int | Caching validity of the results |
users | Vector<User> | Users mentioned in the results |
type
history
present in layers 46–229 · constructor id changed 3×
| id | layers |
|---|---|
| #1170b0a3 | 46 |
| #ccd3563d | 62–71 |
| #947ca848 | 72–153 |
| #e021f2f6 | 154–229 |