Interface TextQuote

Describes manually or automatically chosen quote from another message.

interface TextQuote {
    @type: "textQuote";
    is_manual?: boolean;
    position: number;
    text: FormattedText;
}

Properties

@type: "textQuote"
is_manual?: boolean

True, if the quote was manually chosen by the message sender.

position: number

Approximate quote position in the original message in UTF-16 code units as specified by the message sender.

Text of the quote. Only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities can be present in the text.