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:
Alex Root Junior 2023-08-28 22:32:11 +03:00 committed by GitHub
parent 6eb5ef2606
commit e1be9dd668
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 2 deletions

1
CHANGES/1286.bugfix.rst Normal file
View file

@ -0,0 +1 @@
Fixed :code:`Message.send_copy` method, which was not working properly with stories, so not you can copy stories too (forwards messages).