1.4 KiB
1.4 KiB
title | description | image |
---|---|---|
pageBlockEmbed | An embedded webpage | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: pageBlockEmbed
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 | Yes | Block width, if known |
h | int | Yes | Block height, if known |
caption | RichText | Yes |
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];
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}