Skip to main content
Module

x/grammy/composer.ts>run

The Telegram Bot Framework.
Very Popular
Go to Latest
function run
import { run } from "https://deno.land/x/grammy@v1.11.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