ultra-telegram-framework
Preparing search index...
core/composer
Middleware
Type Alias Middleware<C>
Middleware
:
(
ctx
:
C
,
next
:
NextFunction
)
=>
Promise
<
unknown
>
|
void
Main type of our handler (middleware). It accepts the context (ctx) and the relay function (next).
Type Parameters
C
extends
Context
=
Context
Type Declaration
(
ctx
:
C
,
next
:
NextFunction
)
:
Promise
<
unknown
>
|
void
Parameters
ctx
:
C
next
:
NextFunction
Returns
Promise
<
unknown
>
|
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
ultra-telegram-framework
Loading...
Main type of our handler (middleware). It accepts the context (ctx) and the relay function (next).