Added business_connection_id to the Message API methods shortcuts (#1586)

* Add business_connection_id to message API methods

Integrated the business_connection_id attribute into various message manipulation methods, ensuring consistent data handling. This update eliminates the need to pass the business_connection_id as a parameter, instead directly accessing it from the instance attributes.

* Added changelog
This commit is contained in:
Alex Root Junior 2024-11-02 16:55:15 +02:00 committed by GitHub
parent 592267dd99
commit a2af73ad78
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 29 additions and 27 deletions

6
CHANGES/1586.misc.rst Normal file
View file

@ -0,0 +1,6 @@
Added business_connection_id to the :class:`aiogram.types.message.Message` API methods shortcuts.
Integrated the :code:`business_connection_id` attribute into various message manipulation methods,
ensuring consistent data handling. This update eliminates the need to pass the
:code:`business_connection_id` as a parameter,
instead directly accessing it from the instance attributes.