Update aiogram/types/user.py

This commit is contained in:
Alex Root Junior 2022-11-01 01:57:16 +02:00 committed by GitHub
parent 7dc3e029c5
commit c89f8dbf09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,7 @@ class User(TelegramObject):
@property
def url(self) -> str:
return create_tg_link("user", self.id)
return create_tg_link("user", id=self.id)
def mention_markdown(self, name: Optional[str] = None) -> str:
if name is None: