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

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

Remote document

Constructors

new
WebDocument_(params: { url: string; access_hash: bigint; size: number; mime_type: string; attributes: Array<enums.DocumentAttribute>; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
access_hash: bigint

Access hash

attributes: Array<enums.DocumentAttribute>

Attributes for media types

mime_type: string

MIME type

size: number

File size

url: string

Document URL

Static Properties

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