Package it.tdlight.jni
Class TdApi.ParseMarkdown
- Enclosing class:
- TdApi
Parses Markdown entities in a
human-friendly format, ignoring markup
errors. Can be called synchronously.
Returns FormattedText
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The text to parse. -
Constructor Summary
ConstructorsConstructorDescriptionParses Markdown entities in a human-friendly format, ignoring markup errors.Parses Markdown entities in a human-friendly format, ignoring markup errors.ParseMarkdown
(DataInput input) -
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 to parse. For example, "__italic__ ~~strikethrough~~ **bold** `code` ```pre``` __[italic__ textUrl](telegram.org) _Italic**bold italic_Bold**". -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
ParseMarkdown
public ParseMarkdown()Parses Markdown entities in a human-friendly format, ignoring markup errors. Can be called synchronously.Returns
FormattedText
-
ParseMarkdown
Parses Markdown entities in a human-friendly format, ignoring markup errors. Can be called synchronously.Returns
FormattedText
- Parameters:
text
- FormattedText The text to parse. For example, "__italic__ ~~strikethrough~~ **bold** `code` ```pre``` __[italic__ textUrl](telegram.org) _Italic**bold italic_Bold**".
-
ParseMarkdown
- 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()
-