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

x/grm/mod.ts>client.FileToMediaInterface

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

Properties

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