- Enclosing class:
- TdApi
Parses Bold, Italic, Underline,
Strikethrough, Code, Pre, PreCode,
TextUrl and MentionName entities
contained in the 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, Code, Pre, PreCode, TextUrl and MentionName entities contained in the text.ParseTextEntities
(DataInput input) Parses Bold, Italic, Underline, Strikethrough, Code, Pre, PreCode, TextUrl and MentionName entities contained in the text.ParseTextEntities
(String text, TdApi.TextParseMode parseMode) Parses Bold, Italic, Underline, Strikethrough, Code, Pre, PreCode, TextUrl and MentionName entities contained in the 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, Code, Pre, PreCode, TextUrl and MentionName entities contained in the text. Can be called synchronously.Returns
FormattedText
-
ParseTextEntities
Parses Bold, Italic, Underline, Strikethrough, Code, Pre, PreCode, TextUrl and MentionName entities contained in the text. Can be called synchronously.Returns
FormattedText
- Parameters:
text
- String The text to parse.parseMode
- TextParseMode Text parse mode.
-
ParseTextEntities
Parses Bold, Italic, Underline, Strikethrough, Code, Pre, PreCode, TextUrl and MentionName entities contained in the text. 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()
-