haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.InputTextQuote

Documentation

data InputTextQuote Source #

Constructors

InputTextQuote

Describes manually chosen quote from another message

Fields

  • text :: Maybe FormattedText

    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

  • position :: Maybe Int

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