Added missing closing bracket to shifted_id description

This commit is contained in:
Groosha 2021-05-12 01:20:05 +03:00
parent c5a8580dd0
commit bc03032e97

View file

@ -58,7 +58,7 @@ class Chat(TelegramObject):
@property
def shifted_id(self) -> int:
"""
Returns shifted chat ID (positive and without "-100" prefix.
Returns shifted chat ID (positive and without "-100" prefix).
Mostly used for private links like t.me/c/chat_id/message_id
"""
return abs(self.id + 1_000_000_000_000)