Add ShippingQuery.answer

This commit is contained in:
Gabben 2020-05-17 16:50:49 +05:00
parent cf12da0c4a
commit 83730276bc
4 changed files with 64 additions and 1 deletions

View file

@ -22,8 +22,22 @@ This object contains information about an incoming shipping query.
- `from aiogram.api.types import ShippingQuery`
- `from aiogram.api.types.shipping_query import ShippingQuery`
## 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 `callback_query_id` argument.
| Answer method | Alias for | Description |
| - | - | - |
| `answer` | [Bot.answer_shipping_query](../methods/answer_shipping_query.md) | Answer to shipping query |
## Related pages:
- [Official documentation](https://core.telegram.org/bots/api#shippingquery)
- [aiogram.types.ShippingAddress](../types/shipping_address.md)
- [aiogram.types.User](../types/user.md)
- [aiogram.methods.AnswerShippingQuery](../methods/answer_shipping_query.md)