Sync

@Serializable
data class Sync(val filter: String? = null, val fullState: Boolean? = null, val useStateAfter: Boolean? = null, val setPresence: Presence? = null, val since: String? = null, val timeout: Long? = null) : MatrixEndpoint<Unit, Sync.Response>

See also

Constructors

Link copied to clipboard
constructor(filter: String? = null, fullState: Boolean? = null, useStateAfter: Boolean? = null, setPresence: Presence? = null, since: String? = null, timeout: Long? = null)

Types

Link copied to clipboard
@Serializable
data class Response(val nextBatch: String, val room: Sync.Response.Rooms? = null, val presence: Sync.Response.Presence? = null, val accountData: Sync.Response.GlobalAccountData? = null, val toDevice: Sync.Response.ToDevice? = null, val deviceLists: Sync.Response.DeviceLists? = null, val oneTimeKeysCount: OneTimeKeysCount? = null, val unusedFallbackKeyTypes: UnusedFallbackKeyTypes? = null)

Properties

Link copied to clipboard
@SerialName(value = "filter")
val filter: String?
Link copied to clipboard
@SerialName(value = "full_state")
val fullState: Boolean?
Link copied to clipboard
open val requestContentType: ContentType?
Link copied to clipboard
open val responseContentType: ContentType?
Link copied to clipboard
@SerialName(value = "set_presence")
val setPresence: Presence?
Link copied to clipboard
@SerialName(value = "since")
val since: String?
Link copied to clipboard
@SerialName(value = "timeout")
val timeout: Long?
Link copied to clipboard
@SerialName(value = "use_state_after")
val useStateAfter: Boolean?

Functions

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