ultra-telegram-framework
    Preparing search index...

    Interface TextQuote

    This object contains information about the quoted part of a message that is replied to by the given message.

    interface TextQuote {
        entities?: MessageEntity[];
        is_manual?: boolean;
        position: number;
        text: string;
    }
    Index

    Properties

    entities?: MessageEntity[]

    Optional. Special entities that appear in the quote. Currently, only bold, italic, underline, strikethrough, spoiler, custom_emoji, and date_time entities are kept in quotes.

    is_manual?: boolean

    Optional. True, if the quote was chosen manually by the message sender. Otherwise, the quote was added automatically by the server.

    position: number

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

    text: string

    Text of the quoted part of a message that is replied to by the given message