RoomState

data class RoomState(val channel: String, val tags: Map<String, String>, val emoteOnly: Boolean?, val followersOnly: Int?, val slow: Int?, val subsOnly: Boolean?) : IrcMessage

Room state change (ROOMSTATE). Fields are nullable because Twitch sends partial updates.

Constructors

Link copied to clipboard
constructor(channel: String, tags: Map<String, String>, emoteOnly: Boolean?, followersOnly: Int?, slow: Int?, subsOnly: Boolean?)

Properties

Link copied to clipboard
open override val channel: String

Channel name without the # prefix.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val slow: Int?
Link copied to clipboard
Link copied to clipboard
open override val tags: Map<String, String>

Raw IRCv3 tags for direct access when typed fields are insufficient.