haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.TextQuote

Documentation

data TextQuote Source #

Constructors

TextQuote

Describes manually or automatically chosen quote from another message

Fields

  • text :: Maybe FormattedText

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

  • position :: Maybe Int

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

  • is_manual :: Maybe Bool

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

Instances

Instances details
FromJSON TextQuote Source # 
Instance details

Defined in TD.Data.TextQuote

Show TextQuote Source # 
Instance details

Defined in TD.Data.TextQuote

Eq TextQuote Source # 
Instance details

Defined in TD.Data.TextQuote

ShortShow TextQuote Source # 
Instance details

Defined in TD.Data.TextQuote