mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Merge pull request #230 from uburuntu/unify-default
Unify default as_html argument
This commit is contained in:
commit
39d3731a48
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