Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/grammy/mod.ts>MiddlewareObj

The Telegram Bot Framework.
Go to Latest
interface MiddlewareObj
import { type MiddlewareObj } from "https://deno.land/x/grammy@v1.15.3/mod.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.