MadelineProtoDocs/old_docs/API_docs_v71/constructors/pageBlockEmbedPost.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.5 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];

PWRTelegram json-encoded version:

{"_": "pageBlockEmbedPost", "url": "string", "webpage_id": long, "author_photo_id": long, "author": "string", "date": int, "blocks": [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}