import { FileManager } from "https://deno.land/x/mtkruto@0.2.30/client/2_file_manager.ts";
Constructors
new
FileManager(c: C)Methods
download(fileId: string, params?: DownloadParams)
downloadInner()
location: Api.InputFileLocation,
dcId: number,
params?: { chunkSize?: number; offset?: number; },
getCustomEmojiStickers(id: string | string[])
getStickerSetName(inputStickerSet: Api.inputStickerSetID, hash?)
upload(): Promise<Api.InputFile>
Static Methods
validateChunkSize(chunkSize: number, max: number)
validateOffset(offset: number)