Added 'as_reply_parameters' method & integrate with message reply methods (#1539)

* Added 'as_reply_parameters' method & integrate with message reply methods

The 'as_reply_parameters' method is added to generate reply parameters in a message. This method was used in reply methods.

* Added changelog
This commit is contained in:
Alex Root Junior 2024-07-13 04:03:49 +03:00 committed by GitHub
parent d2cd3d0fd8
commit ac96f0d233
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 164 additions and 95 deletions

3
CHANGES/1538.misc.rst Normal file
View file

@ -0,0 +1,3 @@
Added method :func:`aiogram.types.message.Message.as_reply_parameters`.
Replaced usage of the argument :code:`reply_to_message_id` with :code:`reply_parameters`
in all Message reply methods.