Skip to main content
Latest
import * as grammyRunner from "https://deno.land/x/grammy_runner@v2.0.3/source.ts";

Functions

Creates an update source based on the given update supplier.

Interfaces

Options controlling how the update source operates.

An update source is an object that acts as the source of updates for a runner. It features an async generator of updates that produces batches of updates in the form of arrays.

Update suppliers are objects that can fetch a number of new updates from the Telegram Bot API. When you call run(bot), such an object will be created automatically for you. It uses the passed bot to fetch updates.