public static class TdApi.ParseTextEntities extends TdApi.Function<TdApi.FormattedText>
Returns FormattedText
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.TextParseMode |
parseMode
Text parse mode.
|
java.lang.String |
text
The text to parse.
|
| Constructor and Description |
|---|
ParseTextEntities()
Default constructor for a function, which parses Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, BlockQuote, ExpandableBlockQuote, Code, Pre, PreCode, TextUrl and MentionName entities from a marked-up text.
|
ParseTextEntities(java.lang.String text,
TdApi.TextParseMode parseMode)
Creates a function, which parses Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, BlockQuote, ExpandableBlockQuote, Code, Pre, PreCode, TextUrl and MentionName entities from a marked-up text.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String text
public TdApi.TextParseMode parseMode
public static final int CONSTRUCTOR
public ParseTextEntities()
Returns FormattedText
public ParseTextEntities(java.lang.String text,
TdApi.TextParseMode parseMode)
Returns FormattedText
text - The text to parse.parseMode - Text parse mode.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object