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

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

Document

Constructors

new
Document_(params: { id: bigint; access_hash: bigint; file_reference: Uint8Array; date: number; mime_type: string; size: bigint; thumbs?: Array<enums.PhotoSize>; video_thumbs?: Array<enums.VideoSize>; dc_id: number; attributes: Array<enums.DocumentAttribute>; })

Properties

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

Check sum, dependent on document ID

attributes: Array<enums.DocumentAttribute>

Attributes

date: number

Creation date

dc_id: number

DC ID

file_reference: Uint8Array
id: bigint

Document ID

mime_type: string

MIME type

size: bigint

Size

optional
thumbs: Array<enums.PhotoSize>

Thumbnails

optional
video_thumbs: Array<enums.VideoSize>

Video thumbnails

Static Properties

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