public static class TdApi.TextParseModeMarkdown extends TdApi.TextParseMode
| 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()
Returns an identifier uniquely determining type of the object.
|
toStringpublic 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()
TdApi.ObjectgetConstructor in class TdApi.Object