WhoAmI

@Serializable
data object WhoAmI : MatrixEndpoint<Unit, WhoAmI.Response>

See also

Types

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

Properties

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

Functions

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