Link Search Menu Expand Document

Constructor: pageBlockEmbedPost

Back to constructors index

An embedded post

Attributes:

NameTypeRequiredDescription
urlstringYesWeb page URL
webpage_idlongYesID of generated webpage preview
author_photo_idlongYesID of the author’s photo
authorstringYesAuthor name
dateintYesCreation date
blocksArray of PageBlockYesPost contents
captionPageCaptionYesCaption

Type: PageBlock

Example:

$pageBlockEmbedPost = ['_' => 'pageBlockEmbedPost', 'url' => 'string', 'webpage_id' => long, 'author_photo_id' => long, 'author' => 'string', 'date' => int, 'blocks' => [PageBlock, PageBlock], 'caption' => PageCaption];