answerInlineQuery
Answer inline queries by sending up to 50 results that appear directly in the user's chat. Returns success when delivered.
Instructions
Send answers to an inline query. Results are displayed in the user's chat. Maximum 50 results per query. Returns True on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| button | No | An InlineQueryResultsButton object to be shown above inline query results. | |
| results | Yes | A JSON-serialized array of InlineQueryResult objects representing results for the inline query. | |
| cache_time | No | Maximum time in seconds that the result may be cached on Telegram servers. Defaults to 300. | |
| is_personal | No | Pass True if results may be cached on the server side only for the user that sent the query. | |
| next_offset | No | Offset that a client should send in the next query to receive more results. Max 64 bytes. | |
| inline_query_id | Yes | Unique identifier for the answered query. |