- Enclosing class:
- TdApi
Parses Bold, Italic, Underline,
Strikethrough, Spoiler, CustomEmoji,
Code, Pre, PreCode, TextUrl and
MentionName entities from a marked-up
text. Can be called synchronously.
Returns
FormattedText
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Text parse mode.The text to parse. -
Constructor Summary
ConstructorDescriptionParses Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, Code, Pre, PreCode, TextUrl and MentionName entities from a marked-up text.ParseTextEntities
(DataInput input) Parses Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, Code, Pre, PreCode, TextUrl and MentionName entities from a marked-up text.ParseTextEntities
(String text, TdApi.TextParseMode parseMode) Parses Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, Code, Pre, PreCode, TextUrl and MentionName entities from a marked-up text. -
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. -
parseMode
Text parse mode. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
ParseTextEntities
public ParseTextEntities()Parses Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, Code, Pre, PreCode, TextUrl and MentionName entities from a marked-up text. Can be called synchronously. ReturnsFormattedText
-
ParseTextEntities
Parses Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, Code, Pre, PreCode, TextUrl and MentionName entities from a marked-up text. Can be called synchronously. ReturnsFormattedText
- Parameters:
text
- String The text to parse.parseMode
- TextParseMode Text parse mode.
-
ParseTextEntities
Parses Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, Code, Pre, PreCode, TextUrl and MentionName entities from a marked-up text. Can be called synchronously. ReturnsFormattedText
- 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()
-