Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
pyrogram: update MIN_CHANNEL_ID
  • Loading branch information
rebeeh committed Jun 9, 2024
commit cc892fa802d5ca647b408f6de98b75186bb05962
4 changes: 3 additions & 1 deletion pyrogram/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,9 @@ def unpack_inline_message_id(inline_message_id: str) -> "raw.base.InputBotInline
)


MIN_CHANNEL_ID = -1002147483647
# MIN_CHANNEL_ID old value: -1002147483647 changed to -1009999999999
# Changed because "Peer id invalid" error
MIN_CHANNEL_ID = -1009999999999
MAX_CHANNEL_ID = -1000000000000
MIN_CHAT_ID = -2147483647
MAX_USER_ID_OLD = 2147483647
Expand Down