GetProfile

@Serializable
data class GetProfile(val userId: UserId) : MatrixEndpoint<Unit, GetProfile.Response>

See also

Constructors

Link copied to clipboard
fun GetProfile(userId: UserId)

Types

Link copied to clipboard
@Serializable
data class Response(val displayName: String?, val avatarUrl: String?)

Functions

Link copied to clipboard
open fun requestSerializerBuilder(mappings: EventContentSerializerMappings, json: Json): KSerializer<Unit>?
Link copied to clipboard
open fun responseSerializerBuilder(mappings: EventContentSerializerMappings, json: Json): KSerializer<GetProfile.Response>?

Properties

Link copied to clipboard
open val requestContentType: ContentType?
Link copied to clipboard
open val responseContentType: ContentType?
Link copied to clipboard
val userId: UserId