telebot-ts API Documentation - v1.0.0
GitHub Repository
Telegram Bot API
Preparing search index...
index
MiddlewareFn
Type Alias MiddlewareFn<C>
MiddlewareFn
:
(
context
:
C
,
next
:
()
=>
Promise
<
void
>
)
=>
Promise
<
void
>
|
void
Middleware function signature for intercepting updates.
Type Parameters
C
extends
CallbackContext
=
CallbackContext
Type of the callback context.
Type Declaration
(
context
:
C
,
next
:
()
=>
Promise
<
void
>
)
:
Promise
<
void
>
|
void
Parameters
context
:
C
next
:
()
=>
Promise
<
void
>
Returns
Promise
<
void
>
|
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub Repository
Telegram Bot API
telebot-ts API Documentation - v1.0.0
Loading...
Middleware function signature for intercepting updates.