Package org.drinkless.tdlib
Class TdApi.TextParseModeMarkdown
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.TextParseMode
-
- org.drinkless.tdlib.TdApi.TextParseModeMarkdown
-
- Enclosing class:
- TdApi
public static class TdApi.TextParseModeMarkdown extends TdApi.TextParseMode
The text uses Markdown-style formatting.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.intversionVersion of the parser: 0 or 1 - Telegram Bot API "Markdown" parse mode, 2 - Telegram Bot API "MarkdownV2" parse mode.
-
Constructor Summary
Constructors Constructor Description TextParseModeMarkdown()The text uses Markdown-style formatting.TextParseModeMarkdown(int version)The text uses Markdown-style formatting.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
version
public int version
Version of the parser: 0 or 1 - Telegram Bot API "Markdown" parse mode, 2 - Telegram Bot API "MarkdownV2" parse mode.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TextParseModeMarkdown
public TextParseModeMarkdown()
The text uses Markdown-style formatting.
-
TextParseModeMarkdown
public TextParseModeMarkdown(int version)
The text uses Markdown-style formatting.- Parameters:
version- Version of the parser: 0 or 1 - Telegram Bot API "Markdown" parse mode, 2 - Telegram Bot API "MarkdownV2" parse mode.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-