mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-13 10:47:20 +01:00
1.1 KiB
1.1 KiB
title | description |
---|---|
pageBlockEmbed | pageBlockEmbed attributes, type and example |
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, ];
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, }