SetPresence

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

See also

Constructors

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

Types

Link copied to clipboard
@Serializable
data class Request(val presence: Presence, val statusMessage: String?)

Functions

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

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