Terms Service
Types
Functions
Link copied to clipboard
abstract suspend fun agreeToTerms( serviceType: TermsService.ServiceType, baseUrl: String, agreedUrls: List<String>, token: String?)
Content copied to clipboard
Link copied to clipboard
Get the homeserver terms, from the register API. Will be updated once https://github.com/matrix-org/matrix-doc/pull/3012 will be implemented.
Link copied to clipboard
abstract suspend fun getTerms(serviceType: TermsService.ServiceType, baseUrl: String): GetTermsResponse
Content copied to clipboard