GetPresence

@Serializable
data class GetPresence(val userId: UserId, val asUserId: UserId? = null) : MatrixEndpoint<Unit, PresenceEventContent>

See also

Constructors

Link copied to clipboard
constructor(userId: UserId, asUserId: UserId? = 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<PresenceEventContent>?

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