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

1.5 KiB

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

Constructor: pageBlockEmbed

Back to constructors index

Page block embed

Attributes:

Name Type Required Description
full_width Bool Optional Full width?
allow_scrolling Bool Optional Allow scrolling?
url string Optional URL
html string Optional Html
poster_photo_id long Optional Poster photo ID
w int Yes Width
h int Yes Height
caption RichText Yes Caption

Type: PageBlock

Example:

$pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolling' => Bool, 'url' => 'string', 'html' => 'string', 'poster_photo_id' => long, 'w' => int, 'h' => int, 'caption' => RichText];

PWRTelegram json-encoded version:

{"_": "pageBlockEmbed", "full_width": Bool, "allow_scrolling": Bool, "url": "string", "html": "string", "poster_photo_id": long, "w": int, "h": int, "caption": RichText}

Or, if you're into Lua:

pageBlockEmbed={_='pageBlockEmbed', full_width=Bool, allow_scrolling=Bool, url='string', html='string', poster_photo_id=long, w=int, h=int, caption=RichText}