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

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

The document

Constructors

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

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
attributes: Array<enums.DocumentAttribute>

Attributes for media types

mime_type: string

Mime type

size: number

Remote file size

url: string

Remote document URL to be downloaded using the appropriate method

Static Properties

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