ultra-telegram-framework
Preparing search index...
core/composer
NarrowedContext
Type Alias NarrowedContext<C, F>
NarrowedContext
:
C
&
{
callbackQuery
:
F
extends
"callback_query"
?
NonNullable
<
C
[
"callbackQuery"
]
>
:
C
[
"callbackQuery"
]
;
message
:
F
extends
|
"message"
|
"text"
|
"photo"
|
"document"
|
"audio"
|
"video"
|
"voice"
|
"animation"
|
"sticker"
|
"contact"
|
"location"
|
"live_photo"
|
"guest_message"
|
"business_message"
?
NonNullable
<
C
[
"message"
]
>
&
NarrowedMessage
<
F
>
:
C
[
"message"
]
;
}
Main type of the narrowed context. It extends the base context C, making certain fields MANDATORY.
Type Parameters
C
extends
Context
F
extends
UpdateFilter
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
ultra-telegram-framework
Loading...
Main type of the narrowed context. It extends the base context C, making certain fields MANDATORY.