QueryProfile

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

See also

Constructors

Link copied to clipboard
constructor(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)

Properties

Link copied to clipboard
@SerialName(value = "field")
val field: QueryProfile.Field?
Link copied to clipboard
open val requestContentType: ContentType?
Link copied to clipboard
open val responseContentType: ContentType?
Link copied to clipboard
@SerialName(value = "user_id")
val userId: UserId

Functions

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