UpdateContactRequest

data class UpdateContactRequest(account: String, address: JsonAddress, name: String?, color: String?, inboxPosition: Int?) : SignaldRequestBodyV1<Profile>

update information about a local contact

Constructors

UpdateContactRequest
Link copied to clipboard
common
fun UpdateContactRequest(account: String, address: JsonAddress, name: String? = null, color: String? = null, inboxPosition: Int? = null)

Functions

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

Properties

account
Link copied to clipboard
common
val account: String
address
Link copied to clipboard
common
val address: JsonAddress
color
Link copied to clipboard
common
val color: String? = null
id
Link copied to clipboard
common
val id: String
The id to include in the request.
inboxPosition
Link copied to clipboard
common
val inboxPosition: Int? = null
name
Link copied to clipboard
common
val name: String? = null
version
Link copied to clipboard
common
val version: String
The version to include in the request.