answer_inline_query
Send answers to a Telegram inline query, delivering up to 50 results with optional button, caching, and pagination support.
Instructions
Send answers to an inline query. Max 50 results per query.
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": {
"inline_query_id": "<inline_query_id>"
},
"name": "answer_inline_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| button | No | ||
| results | No | ||
| cache_time | No | ||
| is_personal | No | ||
| next_offset | No | ||
| inline_query_id | Yes |