User Api Client Impl
class UserApiClientImpl(baseClient: MatrixClientServerApiBaseClient, val contentMappings: EventContentSerializerMappings) : UserApiClient
Constructors
Link copied to clipboard
constructor(baseClient: MatrixClientServerApiBaseClient, contentMappings: EventContentSerializerMappings)
Functions
Link copied to clipboard
open suspend override fun getAccountData(type: String, userId: UserId, key: String, asUserId: UserId?): Result<GlobalAccountDataEventContent>
Link copied to clipboard
inline suspend fun <C : GlobalAccountDataEventContent> UserApiClient.getAccountData(userId: UserId, key: String = "", asUserId: UserId? = null): Result<C>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun getPresence(userId: UserId, asUserId: UserId?): Result<PresenceEventContent>
Link copied to clipboard
Link copied to clipboard
open suspend override fun searchUsers(searchTerm: String, acceptLanguage: String, limit: Long?, asUserId: UserId?): Result<SearchUsers.Response>
Link copied to clipboard
Link copied to clipboard
open suspend override fun setAccountData(content: GlobalAccountDataEventContent, userId: UserId, key: String, asUserId: UserId?): Result<Unit>
Link copied to clipboard
open suspend override fun setAvatarUrl(userId: UserId, avatarUrl: String?, asUserId: UserId?): Result<Unit>
Link copied to clipboard
open suspend override fun setDisplayName(userId: UserId, displayName: String?, asUserId: UserId?): Result<Unit>
Link copied to clipboard
open suspend override fun setPresence(userId: UserId, presence: Presence, statusMessage: String?, asUserId: UserId?): Result<Unit>