Module

x/grammy/composer.ts>run

The Telegram Bot Framework.
Very Popular
Go to Latest
function run
import { run } from "https://dotland.deno.dev/x/grammy@v1.15.2/composer.ts";

Runs some given middleware function with a given context object.

Type Parameters

C extends Context

Parameters

middleware: MiddlewareFn<C>

The middleware to run

ctx: C

The context to use