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

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

An embedded post

Constructors

new
PageBlockEmbedPost_(params: { url: string; webpage_id: bigint; author_photo_id: bigint; author: string; date: number; blocks: Array<enums.PageBlock>; caption: enums.PageCaption; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
author: string

Author name

author_photo_id: bigint

ID of the author's photo

blocks: Array<enums.PageBlock>

Post contents

caption: enums.PageCaption

Caption

date: number

Creation date

url: string

Web page URL

webpage_id: bigint

ID of generated webpage preview

Static Properties

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