Module

x/grammy/composer.ts>MiddlewareObj

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

Middleware in the form of a container for a function.

Type Parameters

optional
C extends Context = Context

Properties

middleware: () => MiddlewareFn<C>

Returns the contained middleware.