Properties
Optional
on Alias Queried
on Alias Queried?: ( ( alias: string , roomId: string ) => PossiblePromise < void > )
Type declaration
( alias: string , roomId: string ) : PossiblePromise < void >
Parameters
alias: string
roomId: string
Returns PossiblePromise < void >
Defined in src/bridge.ts:97
Optional
on Alias Query
on
Alias
Query
?: ( ( alias
: string , aliasLocalpart
: string ) => PossiblePromise < null | void | { creationOpts
?: Record < string , unknown > ; remote
?: RemoteRoom ; roomId
?: string } > )
Type declaration
( alias: string , aliasLocalpart: string ) : PossiblePromise < null | void | { creationOpts?: Record < string , unknown > ; remote?: RemoteRoom ; roomId?: string } >
Parameters
alias: string
aliasLocalpart: string
Returns PossiblePromise < null | void | { creationOpts?: Record < string , unknown > ; remote?: RemoteRoom ; roomId?: string } >
Defined in src/bridge.ts:91
Optional
on Ephemeral Event
Defined in src/bridge.ts:79
on Event
Defined in src/bridge.ts:73
Optional
on Log
on Log?: ( ( text: string , isError: boolean ) => void )
Type declaration
( text: string , isError: boolean ) : void
Parameters
text: string
isError: boolean
Returns void
Defined in src/bridge.ts:101
Optional
on User Query
on
User
Query
?: ( ( matrixUser
: MatrixUser ) => PossiblePromise < null | void | { name
?: string ; remote
?: RemoteUser ; url
?: string } > )
Type declaration
( matrixUser: MatrixUser ) : PossiblePromise < null | void | { name?: string ; remote?: RemoteUser ; url?: string } >
Returns PossiblePromise < null | void | { name?: string ; remote?: RemoteUser ; url?: string } >
Defined in src/bridge.ts:85
Optional
third Party Lookup
third Party Lookup?: { protocols: string [] ; getLocation?: any ; getProtocol?: any ; getUser?: any ; parseLocation?: any ; parseUser?: any }
Type declaration
protocols: string []
get Location?: function
get Location( protocol: string , fields: Record < string , string | string [] > ) : PossiblePromise < ThirdpartyLocationResponse [] >
Parameters
protocol: string
fields: Record < string , string | string [] >
Returns PossiblePromise < ThirdpartyLocationResponse [] >
get Protocol?: function
get Protocol( protocol: string ) : PossiblePromise < ThirdpartyProtocolResponse >
Returns PossiblePromise < ThirdpartyProtocolResponse >
get User?: function
get User( protocol: string , fields: Record < string , string | string [] > ) : PossiblePromise < ThirdpartyUserResponse [] >
Parameters
protocol: string
fields: Record < string , string | string [] >
Returns PossiblePromise < ThirdpartyUserResponse [] >
parse Location?: function
parse Location( alias: string ) : PossiblePromise < ThirdpartyLocationResponse [] >
Returns PossiblePromise < ThirdpartyLocationResponse [] >
parse User?: function
parse User( userid: string ) : PossiblePromise < ThirdpartyLocationResponse [] >
Returns PossiblePromise < ThirdpartyLocationResponse [] >
Defined in src/bridge.ts:106
Optional
user Activity Tracker
Defined in src/bridge.ts:117
The bridge will invoke this function when a room has been created via onAliasQuery.