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>Page_

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

Constructors

new
Page_(params: { part?: true; rtl?: true; v2?: true; url: string; blocks: Array<enums.PageBlock>; photos: Array<enums.Photo>; documents: Array<enums.Document>; views?: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
blocks: Array<enums.PageBlock>

Page elements (like with HTML elements, only as TL constructors)

documents: Array<enums.Document>

Media in page

optional
part: true

Indicates that not full page preview is available to the client and it will need to fetch full Instant View from the server using messages.getWebPagePreview.

photos: Array<enums.Photo>

Photos in page

optional
rtl: true

Whether the page contains RTL text

url: string

Original page HTTP URL

optional
v2: true

Whether this is an IV v2 page

optional
views: number

View count

Static Properties

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