fix peerID invalid for new chats: https://t.me/pyrogramchat/618119

This commit is contained in:
Ryuk 2024-07-18 18:55:37 +05:30 committed by GitHub
parent 5316a16a83
commit 1afe4d3a24
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -274,9 +274,9 @@ def unpack_inline_message_id(inline_message_id: str) -> "raw.base.InputBotInline
MIN_CHANNEL_ID_OLD = -1002147483647
MIN_CHANNEL_ID = -1009999999999
MIN_CHANNEL_ID = -100999999999999
MAX_CHANNEL_ID = -1000000000000
MIN_CHAT_ID = -2147483647
MIN_CHAT_ID = -999999999999
MAX_USER_ID_OLD = 2147483647
MAX_USER_ID = 999999999999