MadelineProtoDocs/docs/API_docs/constructors/pageBlockEmbed.md
2024-05-01 14:53:46 +02:00

1.3 KiB

title description nav_exclude image
pageBlockEmbed An embedded webpage true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: pageBlockEmbed

Back to constructors index

An embedded webpage

Attributes:

Name Type Required Description
full_width Bool Optional Whether the block should be full width
allow_scrolling Bool Optional Whether scrolling should be allowed
url string Optional Web page URL, if available
html string Optional HTML-markup of the embedded page
poster_photo_id long Optional Poster photo, if available
w int Optional Block width, if known
h int Optional Block height, if known
caption PageCaption 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' => PageCaption];