WhoIs

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

See also

Constructors

Link copied to clipboard
constructor(userId: UserId, asUserId: UserId? = null)

Types

Link copied to clipboard
@Serializable
data class Response(val userId: UserId? = null, val devices: Map<String, WhoIs.Response.DeviceInfo>? = 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<WhoIs.Response>?

Properties

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