Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy_menu/deps.deno.ts>MiddlewareFn

Interactive menus for grammY.
Go to Latest
type alias MiddlewareFn
Re-export
import { type MiddlewareFn } from "https://deno.land/x/grammy_menu@v1.2.2/deps.deno.ts";

Middleware in the form of a function.

Type Parameters

optional
C extends Context = Context
definition: (ctx: C, next: NextFunction) => MaybePromise<unknown>