Add InlineQuery.answer

This commit is contained in:
Gabben 2020-05-17 16:24:42 +05:00
parent 6bba2da814
commit 65002b9280
4 changed files with 67 additions and 1 deletions

View file

@ -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)