Skip to main content
Module

x/grammy_conversations/deps.deno.ts>MiddlewareFn

Conversational interfaces for grammY
Go to Latest
type alias MiddlewareFn
Re-export
import { type MiddlewareFn } from "https://deno.land/x/grammy_conversations@v1.1.1/deps.deno.ts";

Middleware in the form of a function.

Type Parameters

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