Package org.drinkless.tdlib
Class TdApi.GetMarkdownText
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.GetMarkdownText
-
- Enclosing class:
- TdApi
public static class TdApi.GetMarkdownText extends TdApi.Function
Replaces text entities with Markdown formatting in a human-friendly format. Entities that can't be represented in Markdown unambiguously are kept as is. Can be called synchronously.Returns
FormattedText
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.TdApi.FormattedTexttextThe text.
-
Constructor Summary
Constructors Constructor Description GetMarkdownText()Default constructor for a function, which replaces text entities with Markdown formatting in a human-friendly format.GetMarkdownText(TdApi.FormattedText text)Creates a function, which replaces text entities with Markdown formatting in a human-friendly format.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
text
public TdApi.FormattedText text
The text.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GetMarkdownText
public GetMarkdownText()
Default constructor for a function, which replaces text entities with Markdown formatting in a human-friendly format. Entities that can't be represented in Markdown unambiguously are kept as is. Can be called synchronously.Returns
FormattedText
-
GetMarkdownText
public GetMarkdownText(TdApi.FormattedText text)
Creates a function, which replaces text entities with Markdown formatting in a human-friendly format. Entities that can't be represented in Markdown unambiguously are kept as is. Can be called synchronously.Returns
FormattedText- Parameters:
text- The text.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-