RequestSyncRequest

data class RequestSyncRequest(groups: Boolean?, configuration: Boolean?, contacts: Boolean?, blocked: Boolean?, keys: Boolean?, account: String) : SignaldRequestBodyV1<EmptyResponse>

Request other devices on the account send us their group list, syncable config and contact list.

Constructors

Link copied to clipboard
fun RequestSyncRequest(groups: Boolean? = null, configuration: Boolean? = null, contacts: Boolean? = null, blocked: Boolean? = null, keys: Boolean? = null, account: String)

Functions

Link copied to clipboard
fun submit(socketCommunicator: SocketCommunicator): EmptyResponse
open override fun submit(socketCommunicator: SocketCommunicator, id: String): EmptyResponse
Link copied to clipboard
suspend fun submitSuspend(socketCommunicator: SuspendSocketCommunicator): EmptyResponse
open suspend override fun submitSuspend(socketCommunicator: SuspendSocketCommunicator, id: String): EmptyResponse

Properties

Link copied to clipboard
val account: String

The account to use

Link copied to clipboard
val blocked: Boolean? = null

request block list sync (default true)

Link copied to clipboard
val configuration: Boolean? = null

request configuration sync (default true)

Link copied to clipboard
val contacts: Boolean? = null

request contact sync (default true)

Link copied to clipboard
val groups: Boolean? = null

request group sync (default true)

Link copied to clipboard
val id: String

The id to include in the request. This is expected to be present in the response JSON.

Link copied to clipboard
val keys: Boolean? = null

request storage service keys

Link copied to clipboard
val version: String

The version to include in the request. As this class won't be used to deserialize the response, the Required annotation is being used to force this field to be serialized