messages.botResults
Result of a query to an inline bot
type tg.MessagesBotResults struct { /* ... */ }
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Gallery | bool | — | Whether the result is a picture gallery |
QueryID | int64 | yes | Query ID |
NextOffset | string | — | The next offset to use when navigating through results |
SwitchPm | 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. |
SwitchWebview | InlineBotWebView | — | Shown as a button on top of the remaining inline result list; if clicked, opens the specified inline mode mini app. |
Results | []BotInlineResultClass | yes | The results |
CacheTime | int | yes | Caching validity of the results |
Users | []UserClass | yes | Users mentioned in the results |
Returned by
References
- Official documentation
- Generated Go reference
- TL definition:
messages.botResults#e021f2f6