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