haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.RichText

Synopsis

Documentation

data RichText Source #

Describes a formatted text object

Constructors

RichTextPlain

A plain text

Fields

RichTextBold

A bold rich text

Fields

RichTextItalic

An italicized rich text

Fields

RichTextUnderline

An underlined rich text

Fields

RichTextStrikethrough

A strikethrough rich text

Fields

RichTextFixed

A fixed-width rich text

Fields

RichTextUrl

A rich text URL link

Fields

RichTextEmailAddress

A rich text email link

Fields

RichTextSubscript

A subscript rich text

Fields

RichTextSuperscript

A superscript rich text

Fields

RichTextMarked

A marked rich text

Fields

RichTextPhoneNumber

A rich text phone number

Fields

RichTextIcon

A small image inside the text

Fields

  • document :: Maybe Document

    The image represented as a document. The image can be in GIF, JPEG or PNG format

  • width :: Maybe Int

    Width of a bounding box in which the image must be shown; 0 if unknown

  • height :: Maybe Int

    Height of a bounding box in which the image must be shown; 0 if unknown

RichTextReference

A reference to a richTexts object on the same page

Fields

RichTextAnchor

An anchor

Fields

RichTextAnchorLink

A link to an anchor on the same page

Fields

RichTexts

A concatenation of rich texts

Fields

Instances

Instances details
FromJSON RichText Source # 
Instance details

Defined in TD.Data.RichText

Show RichText Source # 
Instance details

Defined in TD.Data.RichText

Eq RichText Source # 
Instance details

Defined in TD.Data.RichText

ShortShow RichText Source # 
Instance details

Defined in TD.Data.RichText