Interface ParseTextEntities

Parses Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, BlockQuote, ExpandableBlockQuote, Code, Pre, PreCode, TextUrl and MentionName entities from a marked-up text. Can be called synchronously. Request type for Tdjson#parseTextEntities.

interface ParseTextEntities {
    @type: "parseTextEntities";
    parse_mode: TextParseMode;
    text: string;
}

Properties

Properties

@type: "parseTextEntities"
parse_mode: TextParseMode

Text parse mode.

text: string

The text to parse.