Interface

PowerLevelsEventContent

PowerLevelsEventContent

The content definition for m.room.power_levels events
See:

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

Members

number

# ban Optional

The power level required to ban. Default 50.

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

object

# events Optional

A map of event types to the power level required to send them.
Properties:
Name Type Description
eventType: number string

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

number

# events_default Optional

The power level required to send events in the room. Default 50.

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

number

# invite Optional

The power level required to invite users to the room. Default 50.

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

number

# kick Optional

The power level required to kick users from the room. Default 50.

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

object

# notifications Optional

Power levels required to send certain kinds of notifications.
Properties:
Name Type Attributes Description
room number <optional>
The power level required to send "@room" notifications. Default 50.

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

number

# redact Optional

The power level required to redact other people's events in the room. Default 50.

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

number

# state_default Optional

The power level required to send state events in the room. Default 50.

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

object

# users Optional

A map of user IDs to power levels.
Properties:
Name Type Description
userId: number string

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

number

# users_default Optional

The power level of users not listed in `users`. Default 0.

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