import { InputFile } from "https://deno.land/x/grammy@v1.10.1/types.ts";
An InputFile
wraps a number of different sources for sending
files.
It corresponds to the InputFile
type in the Telegram Bot API
Reference.
Constructors
Properties
Optional name of the constructed InputFile
instance.
Check out the
documenation
on sending files with InputFile
.
Methods
private
guessFilename(file: ConstructorParameters<InputFile>[0]): string | undefined[toRaw](): Promise<Uint8Array | Iterable<Uint8Array> | AsyncIterable<Uint8Array>>