- Enclosing class:
- TdApi
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
-
Constructor Summary
ConstructorDescriptionReplaces text entities with Markdown formatting in a human-friendly format.Replaces text entities with Markdown formatting in a human-friendly format.GetMarkdownText
(DataInput input) Replaces text entities with Markdown formatting in a human-friendly format. -
Method Summary
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:
-
-
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
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
- 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()
-