Power Levels Helper
This class is an helper around PowerLevelsContent.
Constructors
Functions
Link copied to clipboard
Returns the user power level of a dedicated user Id.
Link copied to clipboard
Returns the user power level of a dedicated user Id.
Link copied to clipboard
Check if the user have the necessary power level to ban.
Link copied to clipboard
Check if the user have the necessary power level to invite.
Link copied to clipboard
Check if the user have the necessary power level to kick (remove).
Link copied to clipboard
Check if the user have the necessary power level to redact.
Link copied to clipboard
fun isUserAllowedToSend( userId: String, isState: Boolean, eventType: String?): Boolean
Content copied to clipboard
Tell if an user can send an event of a certain type.