telegram.ParseMode¶
-
class
telegram.
ParseMode
¶ Bases:
object
This object represents a Telegram Message Parse Modes.
-
HTML
= 'HTML'¶ ‘HTML’
Type: str
-
MARKDOWN
= 'Markdown'¶ ‘Markdown’
Note
MARKDOWN
is a legacy mode, retained by Telegram for backward compatibility. You should useMARKDOWN_V2
instead.Type: str
-
MARKDOWN_V2
= 'MarkdownV2'¶ ‘MarkdownV2’
Type: str
-