getProfile

abstract suspend fun getProfile(userId: String): JsonDict

Get the combined profile information for this user. This may return keys which are not limited to displayname or avatar_url. If server is configured as limit_profile_requests_to_users_who_share_rooms: true then response can be HTTP 403.

Parameters

userId

the userId param to look for