Package it.tdlight.jni
Class TdApi.GetMarkdownText
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.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 int
CONSTRUCTOR
TdApi.FormattedText
text
The text. -
Constructor Summary
Constructors Constructor Description GetMarkdownText()
Replaces text entities with Markdown formatting in a human-friendly format.GetMarkdownText(TdApi.FormattedText text)
Replaces text entities with Markdown formatting in a human-friendly format.GetMarkdownText(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
text
The text. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
GetMarkdownText
public GetMarkdownText()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
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
- FormattedText The text.
-
GetMarkdownText
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-