Skip to content

Commit 20c1a1e

Browse files
committed
Update Pyrogram to v2.1.32.1
1 parent 04b6c65 commit 20c1a1e

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

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

+4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,14 @@ it can take advantage of new goodies!
88

99
`For a more detailed description, please check the commits. <https://github.com/TelegramPlayGround/pyrogram/commits/unknown_errors/>`_
1010

11+
If you found any issue or have any suggestions, feel free to make `an issue <https://github.com/TelegramPlayGround/pyrogram/issues>`_ on github.
12+
1113
+------------------------+
1214
| Scheme layer used: 179 |
1315
+------------------------+
1416

17+
- Support for the updated Channel ID format. `#28 <https://github.com/TelegramPlayGround/pyrogram/pull/28>`_
18+
- Improvements to :meth:`~pyrogram.Client.save_file` and :meth:`~pyrogram.Client.get_file` to handle the new `FLOOD_PREMIUM_WAIT <https://t.me/swiftgram/72>`_ errors.
1519
- Added ``has_animation``, ``is_personal``, ``minithumbnail`` parameters to :obj:`~pyrogram.types.ChatPhoto`.
1620
- Changed return type of :meth:`~pyrogram.Client.get_chat_photos` to return :obj:`~pyrogram.types.Photo` or :obj:`~pyrogram.types.Animation`.
1721
- Added :meth:`~pyrogram.Client.get_chat_sponsored_messages` and the type :obj:`~pyrogram.types.SponsoredMessage`, by stealing unauthored changes from `KurimuzonAkuma/pyrogram#55 <https://github.com/KurimuzonAkuma/pyrogram/pull/55>`_.

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.31"
20+
__version__ = "2.1.32.1"
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/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def unpack_inline_message_id(inline_message_id: str) -> "raw.base.InputBotInline
237237

238238

239239
MIN_CHANNEL_ID_OLD = -1002147483647
240-
MIN_CHANNEL_ID = -1009999999999
240+
MIN_CHANNEL_ID = -1007852516352
241241
MAX_CHANNEL_ID = -1000000000000
242242
MIN_CHAT_ID_OLD = -2147483647
243243
MIN_CHAT_ID = -999999999999

0 commit comments

Comments
 (0)