Third Party Service
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>
Content copied to clipboard
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>
Content copied to clipboard
Retrieve a Matrix User ID linked to a user on the third party service, given a set of user parameters.