Type alias IntentBackingStore

IntentBackingStore: { 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)
  • 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
        • membership: UserMembership
        • profile: MatrixProfileInfo

        Returns void

  • setPowerLevelContent: ((roomId: string, content: PowerLevelContent) => void)

Generated using TypeDoc