PowerLevelsEventContent

@Serializable
data class PowerLevelsEventContent(val ban: Int = 50, val events: Map<EventType, Int> = emptyMap(), val eventsDefault: Int = 0, val invite: Int = 0, val kick: Int = 50, val redact: Int = 50, val stateDefault: Int = 50, val users: Map<UserId, Int> = emptyMap(), val usersDefault: Int = 0, val notifications: PowerLevelsEventContent.Notifications? = null) : StateEventContent

See also

Constructors

Link copied to clipboard
constructor(ban: Int = 50, events: Map<EventType, Int> = emptyMap(), eventsDefault: Int = 0, invite: Int = 0, kick: Int = 50, redact: Int = 50, stateDefault: Int = 50, users: Map<UserId, Int> = emptyMap(), usersDefault: Int = 0, notifications: PowerLevelsEventContent.Notifications? = null)

Types

Link copied to clipboard
@Serializable
data class Notifications(val room: Int = 50)

Properties

Link copied to clipboard
val ban: Int = 50
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val invite: Int = 0
Link copied to clipboard
val kick: Int = 50
Link copied to clipboard
Link copied to clipboard
val redact: Int = 50
Link copied to clipboard
val stateDefault: Int = 50
Link copied to clipboard
Link copied to clipboard
val usersDefault: Int = 0