Interface InputTextQuote

Describes manually chosen quote from another message.

interface InputTextQuote {
    @type: "inputTextQuote";
    position: number;
    text: FormattedText;
}

Properties

Properties

@type: "inputTextQuote"
position: number

Quote position in the original message in UTF-16 code units.

Text of the quote; 0-getOption("message_reply_quote_length_max") characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities are allowed to be kept and must be kept in the quote.