public static class TdApi.ParseTextEntities extends TdApi.Function
Returns FormattedText
TdApi.Function.Constructors
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 which should be parsed.
|
Constructor and Description |
---|
ParseTextEntities()
Default constructor for a function, which parses Bold, Italic, Underline, Strikethrough, Code, Pre, PreCode, TextUrl and MentionName entities contained in the text.
|
ParseTextEntities(java.lang.String text,
TdApi.TextParseMode parseMode)
Creates a function, which parses Bold, Italic, Underline, Strikethrough, Code, Pre, PreCode, TextUrl and MentionName entities contained in the text.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public 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 which should be parsed.parseMode
- Text parse mode.public int getConstructor()
getConstructor
in class TdApi.Function