MadelineProtoDocs/old_docs/API_docs_v73/constructors/pageBlockEmbedPost.md

1.2 KiB

title description image
pageBlockEmbedPost Page block embed post https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: pageBlockEmbedPost

Back to constructors index

Page block embed post

Attributes:

Name Type Required Description
url string Yes URL
webpage_id long Yes Webpage ID
author_photo_id long Yes Author photo ID
author string Yes Author
date int Yes Date
blocks Array of PageBlock Yes Blocks
caption RichText Yes Caption

Type: PageBlock

Example:

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

Or, if you're into Lua:

pageBlockEmbedPost={_='pageBlockEmbedPost', url='string', webpage_id=long, author_photo_id=long, author='string', date=int, blocks={PageBlock}, caption=RichText}