TgKit library and website are still in early development!

TextQuote Class

extends Base

Internal class that provides an access to the client instance to most structures

Properties

client Client

See the code

entities

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

See the code

isManual boolean

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

See the code

position number

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

See the code

text string

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

See the code