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

x/grm/src/tl/mod.ts>Api.upload.WebFile

MTProto API Client for Deno 🦕
Go to Latest
class Api.upload.WebFile
extends VirtualClass<{ size: int; mimeType: string; fileType: storage.TypeFileType; mtime: int; bytes: bytes; }>
import { Api } from "https://deno.land/x/grm@0.5.1/src/tl/mod.ts";
const { WebFile } = Api.upload;

Properties

bytes: bytes
className: "upload.WebFile"
classType: "constructor"
CONSTRUCTOR_ID: 568808380
fileType: storage.TypeFileType
mimeType: string
mtime: int
size: int
SUBCLASS_OF_ID: 1760657233

Static Methods

fromReader(reader: Reader): WebFile