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

x/grm/src/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.5.2/src/mod.ts";
const { FileToMediaInterface } = client;

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