Skip to content

TextQuote

Type · TDLib 1.8.67 · d1085f9c

Describes manually or automatically chosen quote from another message

TextQuote(
  text: FormattedText,
  position: int32,
  is_manual: Bool
) → TextQuote

text

FormattedText

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

position

int32

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

is_manual

Bool

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