messages.getInlineBotResults
Query an inline bot
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
bot | InputUser | はい | The bot to query |
peer | InputPeer | はい | The currently opened chat |
geo_point | InputGeoPoint | いいえ | The geolocation, if requested |
query | string | はい | The query |
offset | string | はい | The offset within the results, will be passed directly as-is to the bot. |
レスポンス
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.