Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

Lower the MIN_CHANNEL_ID to fix the Invalid Peer Id error #1451

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
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
2 changes: 1 addition & 1 deletion pyrogram/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def unpack_inline_message_id(inline_message_id: str) -> "raw.base.InputBotInline
)


MIN_CHANNEL_ID = -1002147483647
MIN_CHANNEL_ID = -1009999999999
MAX_CHANNEL_ID = -1000000000000
MIN_CHAT_ID = -2147483647
MAX_USER_ID_OLD = 2147483647
Expand Down