Class

PowerLevelsEvent

PowerLevelsEvent()

Represents an m.room.power_levels state event
Constructor

# new PowerLevelsEvent()

View Source models/events/PowerLevelsEvent.ts, line 12

Classes

PowerLevelsEvent

Members

# banLevel

The power level required to ban users.

View Source models/events/PowerLevelsEvent.ts, line 19

# defaultEventLevel

The default power level required to send room events.

View Source models/events/PowerLevelsEvent.ts, line 63

# defaultStateEventLevel

The default power level required to send state events.

View Source models/events/PowerLevelsEvent.ts, line 57

# defaultUserLevel

The default power level for users.

View Source models/events/PowerLevelsEvent.ts, line 51

# inviteLevel

The power level required to invite users.

View Source models/events/PowerLevelsEvent.ts, line 25

# kickLevel

The power level required to kick users.

View Source models/events/PowerLevelsEvent.ts, line 31

# notifyWholeRoomLevel

The power level required to send "@room" notifications.

View Source models/events/PowerLevelsEvent.ts, line 43

# redactLevel

The power level required to redact messages sent by other users.

View Source models/events/PowerLevelsEvent.ts, line 37

Methods

# banLevel() → {number}

The power level required to ban users.

View Source models/events/PowerLevelsEvent.ts, line 146

number

# defaultEventLevel() → {number}

The default power level required to send room events.

View Source models/events/PowerLevelsEvent.ts, line 195

number

# defaultStateEventLevel() → {number}

The default power level required to send state events.

View Source models/events/PowerLevelsEvent.ts, line 188

number

# defaultUserLevel() → {number}

The default power level for users.

View Source models/events/PowerLevelsEvent.ts, line 181

number

# inviteLevel() → {number}

The power level required to invite users.

View Source models/events/PowerLevelsEvent.ts, line 153

number

# kickLevel() → {number}

The power level required to kick users.

View Source models/events/PowerLevelsEvent.ts, line 160

number

# notifyWholeRoomLevel() → {number}

The power level required to send "@room" notifications.

View Source models/events/PowerLevelsEvent.ts, line 174

number

# redactLevel() → {number}

The power level required to redact messages sent by other users.

View Source models/events/PowerLevelsEvent.ts, line 167

number