QueryProfile

@Serializable
data class QueryProfile(val userId: UserId, val field: QueryProfile.Field? = null) : MatrixEndpoint<Unit, QueryProfile.Response>

See also

Constructors

Link copied to clipboard
fun QueryProfile(userId: UserId, field: QueryProfile.Field? = null)

Types

Link copied to clipboard
@Serializable
enum Field : Enum<QueryProfile.Field>
Link copied to clipboard
@Serializable
data class Response(val avatarUrl: String? = null, val displayname: String? = null)

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<QueryProfile.Response>?

Properties

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