Query an inline bot
get_inline_bot_resultsRetrieve inline search results from a Telegram bot by sending a query. Returns the bot's inline suggestions for the specified bot and query.
Instructions
Run an inline bot query (the @bot query form) and return the results.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"bot": "<bot>",
"query": "<query>"
},
"name": "get_inline_bot_results"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | Yes | ||
| peer | No | Where the results would be sent — affects allowed result types | me |
| query | Yes | ||
| offset | No | ||
| accountId | No |