mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 18:01:04 +00:00
Add InlineQuery.answer
This commit is contained in:
parent
6bba2da814
commit
65002b9280
4 changed files with 67 additions and 1 deletions
|
|
@ -23,8 +23,23 @@ This object represents an incoming inline query. When the user sends an empty qu
|
|||
- `from aiogram.api.types import InlineQuery`
|
||||
- `from aiogram.api.types.inline_query import InlineQuery`
|
||||
|
||||
## Aliases
|
||||
|
||||
Aliases is always returns related API method (Awaitable) and can be used directly or as answer's into webhook.
|
||||
|
||||
### Answer
|
||||
|
||||
This method has the same specification with the API but without `inline_query_id` argument.
|
||||
|
||||
| Answer method | Alias for | Description |
|
||||
| - | - | - |
|
||||
| `answer` | [Bot.answer_inline_query](../methods/answer_inline_query.md) | Answer to inline query |
|
||||
|
||||
|
||||
## Related pages:
|
||||
|
||||
- [Official documentation](https://core.telegram.org/bots/api#inlinequery)
|
||||
- [aiogram.types.Location](../types/location.md)
|
||||
- [aiogram.types.User](../types/user.md)
|
||||
- [aiogram.methods.AnswerInlineQuery](../methods/answer_inline_query.md)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue