SelfApi

interface SelfApi : BaseApi

Inheritors

Functions

Link copied to clipboard
abstract suspend fun changeHandle(request: ChangeHandleRequest): NetworkResponse<Unit>
Link copied to clipboard
abstract suspend fun deleteAccount(password: String?): NetworkResponse<Unit>
Link copied to clipboard
open fun getApiNotSupportedError(apiName: String, apiVersion: Int): NetworkResponse.Error
Link copied to clipboard
abstract suspend fun getSelfInfo(): NetworkResponse<<Error class: unknown class>>
Link copied to clipboard
abstract suspend fun updateEmailAddress(email: String): NetworkResponse<Boolean>

Update the email address of the current user.

Link copied to clipboard
abstract suspend fun updateSelf(userUpdateRequest: <Error class: unknown class>): NetworkResponse<Unit>
Link copied to clipboard
abstract suspend fun updateSupportedProtocols(protocols: List<<Error class: unknown class>>): NetworkResponse<Unit>

Update the supported protocols of the current user.