inline_query
Send inline queries to Telegram bots and directly send a selected result to a chat. Specify the bot, query, and optionally choose a result to send.
Instructions
向一个 bot 发 inline 查询(相当于在输入框打 @bot 关键词),可直接发送某个结果。
Args: bot: bot 的 @username 或 ID。 query: 查询词。 limit: 最多列出几条结果。 send_to: 给了就把选中的结果发到这个对话;留空只列出结果不发送。 result_index: 要发送第几条结果(从 0 开始)。 reply_to: 发送时回复某条消息。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | Yes | ||
| limit | No | ||
| query | No | ||
| send_to | No | ||
| reply_to | No | ||
| result_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||