Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.117/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)