mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.3 KiB
1.3 KiB
title | description | nav_exclude | image |
---|---|---|---|
pageBlockEmbed | An embedded webpage | true | 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 | 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];