SetPresence

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

See also

Constructors

Link copied to clipboard
constructor(userId: UserId)

Types

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

Properties

Link copied to clipboard
open val requestContentType: ContentType?
Link copied to clipboard
open val responseContentType: ContentType?
Link copied to clipboard
@SerialName(value = "userId")
val userId: UserId

Functions

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