From 2e964b3fa91a42fa4e9d683eaf5f8b8574c68cf0 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sat, 4 Dec 2021 18:39:35 +0100 Subject: [PATCH] Update MAX_USER_ID --- pyrogram/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/utils.py b/pyrogram/utils.py index 236d9c7b..e5b15aad 100644 --- a/pyrogram/utils.py +++ b/pyrogram/utils.py @@ -159,7 +159,7 @@ def unpack_inline_message_id(inline_message_id: str) -> "raw.types.InputBotInlin MIN_CHANNEL_ID = -1002147483647 MAX_CHANNEL_ID = -1000000000000 MIN_CHAT_ID = -2147483647 -MAX_USER_ID = 2147483647 +MAX_USER_ID = 999999999999 def get_raw_peer_id(peer: raw.base.Peer) -> Optional[int]: