Overview
Properties
Methods
Properties
delay
Type: number | null
The time (in minutes) a user needs to follow the channel in order to be able to send messages in its chat.
There needs to be a distinction between the values 0
(a user can chat immediately after following)
and null
(followers-only mode was disabled).
enabled
Type: boolean
Whether followers-only mode was enabled.
true
means it was enabled, false
means it was disabled.
Methods
enable(delay)
asyncEnables followers-only mode in the channel.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
delay | number | 0 | The time (in minutes) a user needs to follow the channel in order to be able to send messages. |
Return type: void