Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/types/!0_file_id.ts>FileID

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class FileID
import { FileID } from "https://deno.land/x/mtkruto@0.0.982/types/!0_file_id.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)