public static class TdApi.ParseMarkdown 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.FormattedText |
text
The text to parse.
|
Constructor and Description |
---|
ParseMarkdown()
Default constructor for a function, which parses Markdown entities in a human-friendly format, ignoring markup errors.
|
ParseMarkdown(TdApi.FormattedText text)
Creates a function, which parses Markdown entities in a human-friendly format, ignoring markup errors.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.FormattedText text
public static final int CONSTRUCTOR
public ParseMarkdown()
Returns FormattedText
public ParseMarkdown(TdApi.FormattedText text)
Returns FormattedText
text
- The text to parse. For example, "__italic__ ~~strikethrough~~ **bold** `code` ```pre``` __[italic__ textUrl](telegram.org) _Italic**bold italic_Bold**".public int getConstructor()
getConstructor
in class TdApi.Function