Skip to main content
The Deno 2 Release Candidate is 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.1.128/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)