4baac3178e
Add PHP, Lua language tag to Code area
1.4 KiB
1.4 KiB
title | description | image |
---|---|---|
pageBlockEmbed | pageBlockEmbed attributes, type and example | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: pageBlockEmbed
Attributes:
Name | Type | Required |
---|---|---|
full_width | Bool | Optional |
allow_scrolling | Bool | Optional |
url | string | Optional |
html | string | Optional |
poster_photo_id | long | Optional |
w | int | Yes |
h | int | Yes |
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];
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}