Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/2_types.ts>PageBlockEmbed_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class PageBlockEmbed_
extends _PageBlock_
import { PageBlockEmbed_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

An embedded webpage

Constructors

new
PageBlockEmbed_(params: { full_width?: true; allow_scrolling?: true; url?: string; html?: string; poster_photo_id?: bigint; w?: number; h?: number; caption: enums.PageCaption; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
allow_scrolling: true

Whether scrolling should be allowed

caption: enums.PageCaption

Caption

optional
full_width: true

Whether the block should be full width

optional
h: number

Block height, if known

optional
html: string

HTML-markup of the embedded page

optional
poster_photo_id: bigint

Poster photo, if available

optional
url: string

Web page URL, if available

optional
w: number

Block width, if known

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc