RequestSyncRequest

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

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

Constructors

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

Functions

submit
Link copied to clipboard
common
fun submit(socketCommunicator: SocketCommunicator): EmptyResponse
submitSuspend
Link copied to clipboard
common
suspend fun submitSuspend(socketCommunicator: SuspendSocketCommunicator): EmptyResponse

Properties

account
Link copied to clipboard
common
val account: String
The account to useExample: "+12024561414"
blocked
Link copied to clipboard
common
val blocked: Boolean? = null
request block list sync (default true)
configuration
Link copied to clipboard
common
val configuration: Boolean? = null
request configuration sync (default true)
contacts
Link copied to clipboard
common
val contacts: Boolean? = null
request contact sync (default true)
groups
Link copied to clipboard
common
val groups: Boolean? = null
request group sync (default true)
id
Link copied to clipboard
common
val id: String
The id to include in the request.
version
Link copied to clipboard
common
val version: String
The version to include in the request.