aiogram/docs/api/methods/repost_story.rst
Alex Root Junior dcff0f99c7
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
2026-01-02 01:45:35 +02:00

45 lines
726 B
ReStructuredText

###########
repostStory
###########
Returns: :obj:`Story`
.. automodule:: aiogram.methods.repost_story
:members:
:member-order: bysource
:undoc-members: True
:exclude-members: model_config,model_fields
Usage
=====
As bot method
-------------
.. code-block::
result: Story = await bot.repost_story(...)
Method as object
----------------
Imports:
- :code:`from aiogram.methods.repost_story import RepostStory`
- alias: :code:`from aiogram.methods import RepostStory`
With specific bot
~~~~~~~~~~~~~~~~~
.. code-block:: python
result: Story = await bot(RepostStory(...))
As reply into Webhook in handler
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: python
return RepostStory(...)