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

x/grm/src/client/mod.ts>FileToMediaInterface

MTProto API Client for Deno 🦕
Go to Latest
interface FileToMediaInterface
import { type FileToMediaInterface } from "https://deno.land/x/grm@0.5.1/src/client/mod.ts";

Properties

file: FileLike
optional
forceDocument: boolean
optional
fileSize: number
optional
progressCallback: OnProgress
optional
attributes: Api.TypeDocumentAttribute[]
optional
thumb: FileLike
optional
voiceNote: boolean
optional
videoNote: boolean
optional
supportsStreaming: boolean
optional
mimeType: string
optional
asImage: boolean
optional
workers: number