mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added missing closing bracket to shifted_id description
This commit is contained in:
parent
c5a8580dd0
commit
bc03032e97
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue