Options
All
  • Public
  • Public/Protected
  • All
Menu

matrix-appservice-bridge

Index

Type aliases

EphemeralEvent

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

PowerLevelContent

PowerLevelContent: { events?: {}; events_default?: unknown; state_default?: unknown; users?: {}; users_default?: unknown }

Type declaration

  • Optional events?: {}
    • [eventType: string]: unknown
  • Optional events_default?: unknown
  • Optional state_default?: unknown
  • Optional users?: {}
    • [userId: string]: unknown
  • Optional users_default?: unknown

UserMembership

UserMembership: "join" | "invite" | "leave" | "ban" | null

Caches membership of virtual users to rooms in memory and also stores the state of whether users are registered.

UserProfile

UserProfile: { avatar_url?: string; displayname?: string }

Type declaration

  • Optional avatar_url?: string
  • Optional displayname?: string

Variables

Const APPSERVICE_LOGIN_TYPE

APPSERVICE_LOGIN_TYPE: "uk.half-shot.msc2778.login.application_service" = "uk.half-shot.msc2778.login.application_service"

Const BRIDGE_PING_EVENT_TYPE

BRIDGE_PING_EVENT_TYPE: "org.matrix.bridge.ping" = "org.matrix.bridge.ping"

Const BRIDGE_PING_TIMEOUT_MS

BRIDGE_PING_TIMEOUT_MS: 60000 = 60000

Const ContentRepo

ContentRepo: { getHttpUriForMxc: any; getIdenticonUri: any } = ...

Type declaration

  • getHttpUriForMxc: any
  • getIdenticonUri: any

Const DEFAULT_OPTS

DEFAULT_OPTS: MembershipQueueOptsWithDefaults = ...

Default values used by the queue if not specified.

Generated using TypeDoc