Skip to main content
Module

x/grammy_files/plugin.ts

Handle and download received media files.
Latest
import * as grammyFiles from "https://deno.land/x/grammy_files@v1.1.0/plugin.ts";

Functions

Plugin that hydrates results to getFile, and equips the results with methods to download files, or get their URL/path.

Interfaces

Options to pass to the files plugin. They are mainly useful if you are working with a local Bot API server, and you need to adjust from where to download files.

Type Aliases

Transformative API Flavor that adds file handling utilities to the supplied context object. Check out the documentation about this kind of context flavor.