Preparing search index...
The search index is not available
mtcute - v0.17.2
mtcute
@mtcute/dispatcher
filters
userStatus
Function userStatus
Create a filter for
UserStatusUpdate
by new user status
Param: statuses
Update type(s)
Link
User.Status
user
Status
<
T
>
(
status
)
:
UpdateFilter
<
UserStatusUpdate
,
{
lastOnline
:
T
extends
"offline"
?
Date
:
null
;
nextOffline
:
T
extends
"online"
?
Date
:
null
;
type
:
T
;
}
>
Type Parameters
T
extends
UserStatus
Parameters
status
:
T
Returns
UpdateFilter
<
UserStatusUpdate
,
{
lastOnline
:
T
extends
"offline"
?
Date
:
null
;
nextOffline
:
T
extends
"online"
?
Date
:
null
;
type
:
T
;
}
>
user
Status
<
T
>
(
statuses
)
:
UpdateFilter
<
UserStatusUpdate
,
{
type
:
T
[
number
]
;
}
>
Type Parameters
T
extends
UserStatus
[]
Parameters
statuses
:
T
Returns
UpdateFilter
<
UserStatusUpdate
,
{
type
:
T
[
number
]
;
}
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
mtcute - v0.17.2
Loading...
Create a filter for UserStatusUpdate by new user status
Param: statuses
Update type(s)
Link
User.Status