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.10.1/composer.ts";

Runs some given middleware function with a given context object.

Parameters

middleware: MiddlewareFn<C>

The middleware to run

ctx: C

The context to use