{}
The duration (in seconds) that the user should be timed out. If this value is null, the user will be banned.
duration?: number
The reason why the user is being timed out/banned.
reason: string
The user who is to be banned/timed out.
user:
UserIdResolvable
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
Properties
duration
Type: ?number
The duration (in seconds) that the user should be timed out. If this value is null, the user will be banned.
user
Type: UserIdResolvableA user ID or a user or channel object.
This is not a user name.
Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
A user ID or a user or channel object.
This is not a user name. Please use HelixUserApi#getUserByName to fetch a user object by name.
Aliased type: string | number | UserIdResolvableType
The user who is to be banned/timed out.