mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-10 17:53:17 +00:00
Fixed pydoc for Message.parse_entities.
This commit is contained in:
parent
f52c59376d
commit
59bde14db3
1 changed files with 2 additions and 2 deletions
|
|
@ -161,7 +161,7 @@ class Message(base.TelegramObject):
|
|||
|
||||
def parse_entities(self, as_html=True):
|
||||
"""
|
||||
Text or caption formatted as HTML.
|
||||
Text or caption formatted as HTML or Markdown.
|
||||
|
||||
:return: str
|
||||
"""
|
||||
|
|
@ -218,7 +218,7 @@ class Message(base.TelegramObject):
|
|||
|
||||
:return: str
|
||||
"""
|
||||
return self.parse_entities(True)
|
||||
return self.parse_entities()
|
||||
|
||||
async def reply(self, text, parse_mode=None, disable_web_page_preview=None,
|
||||
disable_notification=None, reply_markup=None, reply=True) -> 'Message':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue