mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
enh: unify default as_html argument
This commit is contained in:
parent
9d94ac62c9
commit
386a1586e0
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ class Chat(base.TelegramObject):
|
|||
|
||||
return f"tg://user?id={self.id}"
|
||||
|
||||
def get_mention(self, name=None, as_html=False):
|
||||
def get_mention(self, name=None, as_html=True):
|
||||
if name is None:
|
||||
name = self.mention
|
||||
if as_html:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue