haskell-tdlib-2.1.23.0: Binding to the Telegram Database Library
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.InputPageBlock

Synopsis

Documentation

data InputPageBlock Source #

Describes a block of a rich message to send

Constructors

InputPageBlockSectionHeading

A section heading

Fields

InputPageBlockParagraph

A text paragraph

Fields

InputPageBlockPreformatted

A preformatted text paragraph

Fields

InputPageBlockFooter

The footer of the page

Fields

InputPageBlockThinking

A "Thinking..." placeholder; for pending rich messages only; for bots only

Fields

InputPageBlockDivider

An empty block separating the page

InputPageBlockMathematicalExpression

A mathematical expression

Fields

InputPageBlockAnchor

An invisible anchor

Fields

InputPageBlockList

A list of data blocks

Fields

InputPageBlockBlockQuote

A block quote

Fields

InputPageBlockPullQuote

A pull quote

Fields

InputPageBlockAnimation

An animation

Fields

InputPageBlockAudio

An audio file

Fields

InputPageBlockPhoto

A photo

Fields

InputPageBlockVideo

A video

Fields

InputPageBlockVoiceNote

A voice note

Fields

InputPageBlockCollage

A collage

Fields

InputPageBlockSlideshow

A slideshow

Fields

InputPageBlockTable

A table

Fields

InputPageBlockDetails

A collapsible block

Fields

InputPageBlockMap

A map. The map's width and height must not exceed 10000 in total. Width and height ratio must be at most 20

Fields