public static class TdApi.TextParseModeMarkdown extends TdApi.TextParseMode
TdApi.TextParseMode.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
version
Version of the parser: 0 or 1 - Telegram Bot API "Markdown" parse mode, 2 - Telegram Bot API "MarkdownV2" parse mode.
|
Constructor and Description |
---|
TextParseModeMarkdown()
The text uses Markdown-style formatting.
|
TextParseModeMarkdown(int version)
The text uses Markdown-style formatting.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public int version
public static final int CONSTRUCTOR
public TextParseModeMarkdown()
public TextParseModeMarkdown(int version)
version
- Version of the parser: 0 or 1 - Telegram Bot API "Markdown" parse mode, 2 - Telegram Bot API "MarkdownV2" parse mode.public int getConstructor()
getConstructor
in class TdApi.TextParseMode