Skip to main content
Module

x/mtkruto/mod.ts>FileID

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class FileID
Re-export
import { FileID } from "https://deno.land/x/mtkruto@0.1.118/mod.ts";

Constructors

new
FileID(
major?: number | null,
minor?: number | null,
fileType: FileType,
dcId: number,
params: FileIDParams,
)

Properties

readonly
major: number
readonly
minor: number

Methods

encode(major?: number, minor?: number)

Static Properties

MAJOR: number
MINOR: number

Static Methods

decode(fileId: string)