ThirdPartyService

interface ThirdPartyService

See https://matrix.org/docs/spec/client_server/r0.4.0.html#get-matrix-client-r0-thirdparty-protocols

Functions

Link copied to clipboard
abstract suspend fun getThirdPartyProtocols(): Map<String, ThirdPartyProtocol>

Fetches the overall metadata about protocols supported by the homeserver. Includes both the available protocols and all fields required for queries against each protocol.

Link copied to clipboard
abstract suspend fun getThirdPartyUser(protocol: String, fields: Map<String, String> = emptyMap()): List<ThirdPartyUser>

Retrieve a Matrix User ID linked to a user on the third party service, given a set of user parameters.