mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-13 02:19:54 +00:00
Fix Message.send_copy method for stories (#1287)
* Fix `Message.send_copy` method for stories Fixed an issue with the `Message.send_copy` method, which was not functioning properly with story-type messages. The `ForwardMessage` logic has been added to the method to enable copying of stories, in addition to other types. Tests and documentation have also been updated to reflect these changes. * Typo fix
This commit is contained in:
parent
6eb5ef2606
commit
e1be9dd668
4 changed files with 12 additions and 2 deletions
|
|
@ -649,6 +649,7 @@ class TestMessage:
|
|||
[TEST_MESSAGE_CONTACT, SendContact],
|
||||
[TEST_MESSAGE_VENUE, SendVenue],
|
||||
[TEST_MESSAGE_LOCATION, SendLocation],
|
||||
[TEST_MESSAGE_STORY, ForwardMessage],
|
||||
[TEST_MESSAGE_NEW_CHAT_MEMBERS, None],
|
||||
[TEST_MESSAGE_LEFT_CHAT_MEMBER, None],
|
||||
[TEST_MESSAGE_INVOICE, None],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue