mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 10:11:52 +00:00
Added typehints for init methods of types and methods (#1245)
* Generate init * Fixed mypy errors * Bump butcher * Added changelog
This commit is contained in:
parent
aea876dfe0
commit
11dc7eaa31
257 changed files with 7275 additions and 247 deletions
|
|
@ -43,3 +43,9 @@ As reply into Webhook in handler
|
|||
.. code-block:: python
|
||||
|
||||
return AnswerPreCheckoutQuery(...)
|
||||
|
||||
|
||||
As shortcut from received object
|
||||
--------------------------------
|
||||
|
||||
- :meth:`aiogram.types.pre_checkout_query.PreCheckoutQuery.answer`
|
||||
|
|
|
|||
|
|
@ -43,3 +43,9 @@ As reply into Webhook in handler
|
|||
.. code-block:: python
|
||||
|
||||
return AnswerShippingQuery(...)
|
||||
|
||||
|
||||
As shortcut from received object
|
||||
--------------------------------
|
||||
|
||||
- :meth:`aiogram.types.shipping_query.ShippingQuery.answer`
|
||||
|
|
|
|||
|
|
@ -49,3 +49,4 @@ As shortcut from received object
|
|||
--------------------------------
|
||||
|
||||
- :meth:`aiogram.types.message.Message.edit_reply_markup`
|
||||
- :meth:`aiogram.types.message.Message.delete_reply_markup`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue