Layer 224
PageBlock
Abstract type representing one of 29 possible constructors.
Type
Available Constructors
In Gogram, this type is represented as tg.PageBlock interface.
Use any of the following constructors:
PageBlockTitle
Title
PageBlockUnsupported
Unsupported IV element
PageBlockAuthorDate
Author and date of creation of article
PageBlockSubtitle
Subtitle
PageBlockHeader
Page header
PageBlockPreformatted
Preformatted ( <pre> text)
PageBlockSubheader
Subheader
PageBlockParagraph
A paragraph
PageBlockDivider
An empty block separating a page
PageBlockAnchor
Link to section within the page itself (like <a href="#target">anchor</a> )
PageBlockFooter
Page footer
PageBlockBlockquote
Quote (equivalent to the HTML <blockquote> )
PageBlockPhoto
A photo
PageBlockList
Unordered list of IV blocks
PageBlockVideo
Video
PageBlockCover
A page cover
PageBlockPullquote
Pullquote
PageBlockEmbed
An embedded webpage
PageBlockSlideshow
Slideshow
PageBlockChannel
Reference to a telegram channel
PageBlockCollage
Collage of media
PageBlockAudio
Audio
PageBlockEmbedPost
An embedded post
PageBlockKicker
Kicker
PageBlockTable
Table
PageBlockOrderedList
Ordered list of IV blocks
PageBlockDetails
A collapsible details block
PageBlockRelatedArticles
Related articles
PageBlockMap
A map
Gogram Example
// PageBlock is an interface type // You can use any of the following constructors: var _ tg.PageBlock = &tg.PageBlockTitle{} var _ tg.PageBlock = &tg.PageBlockUnsupported{} var _ tg.PageBlock = &tg.PageBlockAuthorDate{} var _ tg.PageBlock = &tg.PageBlockSubtitle{} var _ tg.PageBlock = &tg.PageBlockHeader{} // ... and 24 more constructors