Module

x/grammy/mod.ts>MiddlewareFn

The Telegram Bot Framework.
Very Popular
Latest
type alias MiddlewareFn
import { type MiddlewareFn } from "https://dotland.deno.dev/x/grammy@v1.31.3/mod.ts";

Middleware in the form of a function.

Type Parameters

optional
C extends Context = Context
definition: (ctx: C, next: NextFunction) => MaybePromise<unknown>
import MiddlewareFn
import { MiddlewareFn } from "https://dotland.deno.dev/x/grammy@v1.31.3/mod.ts";