Source

models/PowerLevelAction.ts

  1. /**
  2. * Actions that can be guarded by power levels.
  3. */
  4. export enum PowerLevelAction {
  5. /**
  6. * Power level required to ban other users.
  7. */
  8. Ban = "ban",
  9. /**
  10. * Power level required to kick other users.
  11. */
  12. Kick = "kick",
  13. /**
  14. * Power level required to redact events sent by other users. Users can redact
  15. * their own messages regardless of this power level requirement, unless forbidden
  16. * by the `events` section of the power levels content.
  17. */
  18. RedactEvents = "redact",
  19. /**
  20. * Power level required to invite other users.
  21. */
  22. Invite = "invite",
  23. /**
  24. * Power level required to notify the whole room with "@room".
  25. */
  26. NotifyRoom = "notifications.room",
  27. }