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

TD.Data.PageBlock

Synopsis

Documentation

data PageBlock Source #

Describes a block of an instant view for a web page

Constructors

PageBlockTitle

The title of a page; instant view only

Fields

PageBlockSubtitle

The subtitle of a page; instant view only

Fields

PageBlockAuthorDate

The author and publishing date of a page; instant view only

Fields

PageBlockHeader

A header; instant view only

Fields

PageBlockSubheader

A subheader; instant view only

Fields

PageBlockSectionHeading

A section heading

Fields

PageBlockKicker

A kicker; instant view only

Fields

PageBlockParagraph

A text paragraph

Fields

PageBlockPreformatted

A preformatted text paragraph

Fields

PageBlockFooter

The footer of a page

Fields

PageBlockThinking

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

Fields

PageBlockDivider

An empty block separating a page

PageBlockMathematicalExpression

A mathematical expression

Fields

PageBlockAnchor

An invisible anchor on a page, which can be used in a URL to open the page from the specified anchor

Fields

PageBlockList

A list of data blocks

Fields

PageBlockBlockQuote

A block quote

Fields

PageBlockPullQuote

A pull quote

Fields

PageBlockAnimation

An animation

Fields

PageBlockAudio

An audio file

Fields

PageBlockPhoto

A photo

Fields

PageBlockVideo

A video

Fields

PageBlockVoiceNote

A voice note

Fields

PageBlockCover

A page cover; instant view only

Fields

PageBlockEmbedded

An embedded web page; instant view only

Fields

PageBlockEmbeddedPost

An embedded post; instant view only

Fields

PageBlockCollage

A collage

Fields

PageBlockSlideshow

A slideshow

Fields

PageBlockChatLink

A link to a chat; instant view only

Fields

PageBlockTable

A table

Fields

PageBlockDetails

A collapsible block

Fields

PageBlockRelatedArticles

Related articles; instant view only

Fields

PageBlockMap

A map

Fields

Instances

Instances details
FromJSON PageBlock Source # 
Instance details

Defined in TD.Data.PageBlock

ToJSON PageBlock Source # 
Instance details

Defined in TD.Data.PageBlock

Show PageBlock Source # 
Instance details

Defined in TD.Data.PageBlock

Eq PageBlock Source # 
Instance details

Defined in TD.Data.PageBlock

ShortShow PageBlock Source # 
Instance details

Defined in TD.Data.PageBlock