Added full support of Telegram Bot API 9.3 (#1747)

* Added full support of Telegram Bot API 9.3

* Fixed tests that fails

* Add tests for `GetChatGifts`, `GetUserGifts`, `RepostStory`, and `SendMessageDraft` methods

* Added changelog record
This commit is contained in:
Alex Root Junior 2026-01-02 01:45:35 +02:00 committed by GitHub
parent ce4ddb77f4
commit dcff0f99c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
132 changed files with 2993 additions and 457 deletions

View file

@ -0,0 +1,45 @@
################
sendMessageDraft
################
Returns: :obj:`bool`
.. automodule:: aiogram.methods.send_message_draft
:members:
:member-order: bysource
:undoc-members: True
:exclude-members: model_config,model_fields
Usage
=====
As bot method
-------------
.. code-block::
result: bool = await bot.send_message_draft(...)
Method as object
----------------
Imports:
- :code:`from aiogram.methods.send_message_draft import SendMessageDraft`
- alias: :code:`from aiogram.methods import SendMessageDraft`
With specific bot
~~~~~~~~~~~~~~~~~
.. code-block:: python
result: bool = await bot(SendMessageDraft(...))
As reply into Webhook in handler
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: python
return SendMessageDraft(...)