messages.getInlineBotResults
Query an inline bot
| Name | Type | Required | Description |
|---|---|---|---|
bot | InputUser | Yes | The bot to query |
peer | InputPeer | Yes | The currently opened chat |
geo_point | InputGeoPoint | No | The geolocation, if requested |
query | string | Yes | The query |
offset | string | Yes | The offset within the results, will be passed directly as-is to the bot. |
Replies
messages.BotResults
MTProto RPC
- 400 · BOT_INLINE_DISABLED — This bot can't be used in inline mode.
- 400 · BOT_INVALID — This is not a valid bot.
- 400 · BOT_RESPONSE_TIMEOUT — A timeout occurred while fetching data from the bot.
- 400 · CHANNEL_INVALID — The provided channel is invalid.
- 406 · CHANNEL_PRIVATE — You haven't joined this channel/supergroup.
- 400 · INPUT_USER_DEACTIVATED — The specified user was deleted.
- 400 · MSG_ID_INVALID — Invalid message ID provided.