Type alias IntentBackingStore
Intent
Backing
Store
: { getMemberProfile
: ((roomId
: string, userid
: string) => MatrixProfileInfo); getMembership
: ((roomId
: string, userId
: string) => UserMembership); getPowerLevelContent
: ((roomId
: string) => PowerLevelContent | undefined); setMembership
: ((roomId
: string, userId
: string, membership
: UserMembership, profile
: MatrixProfileInfo) => void); setPowerLevelContent
: ((roomId
: string, content
: PowerLevelContent) => void) }
Type declaration
-
getMemberProfile: ((roomId: string, userid: string) => MatrixProfileInfo)
-
- (roomId: string, userid: string): MatrixProfileInfo
-
Parameters
-
roomId: string
-
userid: string
Returns MatrixProfileInfo
-
getMembership: ((roomId: string, userId: string) => UserMembership)
-
- (roomId: string, userId: string): UserMembership
-
Parameters
-
roomId: string
-
userId: string
-
getPowerLevelContent: ((roomId: string) => PowerLevelContent | undefined)
-
setMembership: ((roomId: string, userId: string, membership: UserMembership, profile: MatrixProfileInfo) => void)
-
- (roomId: string, userId: string, membership: UserMembership, profile: MatrixProfileInfo): void
-
Parameters
-
roomId: string
-
userId: string
-
-
profile: MatrixProfileInfo
Returns void
-
setPowerLevelContent: ((roomId: string, content: PowerLevelContent) => void)