UNPKG

@vector-im/matrix-bot-sdk

Version:

TypeScript/JavaScript SDK for Matrix bots and appservices

17 lines (15 loc) 480 B
/** * Information on the bounds of a power level change a user can apply. */ export interface PowerLevelBounds { /** * Whether or not the user can even modify the power level of the user. This * will be false if the user can't send power level events, or the user is * unobtainably high in power. */ canModify: boolean; /** * The maximum possible power level the user can set on the target user. */ maximumPossibleLevel: number; }