WhoAmI

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

See also

Constructors

Link copied to clipboard
fun WhoAmI(asUserId: UserId? = null)

Types

Link copied to clipboard
@Serializable
data class Response(val userId: UserId, val deviceId: String?, val isGuest: Boolean?)

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<WhoAmI.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?