public static class TdApi.ParseMarkdown extends TdApi.Function<TdApi.FormattedText>
Returns FormattedText
| 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()
Returns an identifier uniquely determining type of the object.
|
toStringpublic 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~~ ||spoiler|| **bold** `code` ```pre``` __[italic__ textUrl](telegram.org) _Italic**bold italic_Bold**".public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object