messages.getInlineBotResults
Query an inline bot
Example
TL schema
Parameters
Name | Type | Description |
flags | Flags, see TL conditional fields | |
bot | The bot to query | |
peer | The currently opened chat | |
geo_point | The geolocation, if requested | |
query | The query | |
offset | The offset within the results, will be passed directly as-is to the bot. |
Result
Possible errors
Code | Type | Description |
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_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 |
-503 | Timeout | Timeout while fetching data |
Can bots use this methd ?
yes
Related pages
Last updated