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 >
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 } >
Optional
on Ephemeral Event
Optional
on Log
on Log?: ( ( text: string , isError: boolean ) => void )
Type declaration
( text: string , isError: boolean ) : void
Parameters
text: string
isError: boolean
Returns void
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 } >
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 [] >
Optional
user Activity Tracker
The bridge will invoke this function when a room has been created via onAliasQuery.