import * as grammyRunner from "https://deno.land/x/grammy_runner@v2.0.3/runner.ts";
Functions
Creates a runner that pulls in updates from the supplied source, and passes them to the supplied sink. Returns a handle that lets you control the runner, e.g. start it. | |
Takes a grammY bot and returns an update fetcher function for it. The
returned function has built-in retrying behavior that can be configured.
After every successful fetching operation, the | |
f run | Runs a grammY bot with long polling. Updates are processed concurrently with
a default maximum concurrency of 500 updates. Calls to |
Interfaces
Options that can be passed to the call to | |
This handle gives you control over a runner. It allows you to stop the bot, start it again, and check whether it is running. | |
Options to be passed to the runner created internally by | |
Options to be passed to |