mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Update aiogram/types/user.py
This commit is contained in:
parent
7dc3e029c5
commit
c89f8dbf09
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue