Skip to content

Commit 9b30daa

Browse files
committed
Update Pyrogram to v2.1.32.9
1 parent e27726e commit 9b30daa

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

docs/source/releases/changes-in-this-fork.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ If you found any issue or have any suggestions, feel free to make `an issue <htt
1414
| Scheme layer used: 182 |
1515
+------------------------+
1616

17-
- Updated the parameter ``business_connection_id`` to the methods :meth:`~pyrogram.types.Message.edit_text`, :meth:`~pyrogram.types.Message.edit_media`, :meth:`~pyrogram.types.Message.edit_reply_markup`, :meth:`~pyrogram.types.CallbackQuery.edit_message_text`, :meth:`~pyrogram.types.CallbackQuery.edit_message_media`, :meth:`~pyrogram.types.CallbackQuery.edit_message_reply_markup`, :meth:`~pyrogram.types.Poll.stop`.
17+
- Updated the parameter ``business_connection_id`` to the methods :meth:`~pyrogram.types.Message.edit_text`, :meth:`~pyrogram.types.Message.edit_media`, :meth:`~pyrogram.types.Message.edit_reply_markup`, :meth:`~pyrogram.types.CallbackQuery.edit_message_text`, :meth:`~pyrogram.types.CallbackQuery.edit_message_media`, :meth:`~pyrogram.types.CallbackQuery.edit_message_reply_markup`.
1818
- Added the parameter ``business_connection_id`` to the methods :meth:`~pyrogram.Client.edit_message_text`, :meth:`~pyrogram.Client.edit_message_media`, :meth:`~pyrogram.Client.edit_message_caption` and :meth:`~pyrogram.Client.edit_message_reply_markup`, allowing the bot to edit business messages.
1919
- Added the parameter ``business_connection_id`` to the method :meth:`~pyrogram.Client.stop_poll`, allowing the bot to stop polls it sent on behalf of a business account.
2020
- Added support for callback queries originating from a message sent on behalf of a business account.

pyrogram/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
1818

1919
__fork_name__ = "pyrotgfork"
20-
__version__ = "2.1.32.8"
20+
__version__ = "2.1.32.9"
2121
__license__ = "GNU Lesser General Public License v3.0 (LGPL-3.0)"
2222
__copyright__ = "Copyright (C) 2017-present Dan <https://github.com/delivrance>"
2323

pyrogram/methods/messages/edit_message_text.py

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
import pyrogram
2424
from pyrogram import raw, enums, types, utils
2525

26+
from .inline_session import get_session
27+
2628
log = logging.getLogger(__name__)
2729

2830

0 commit comments

Comments
 (0)