UpdateContactRequest

data class UpdateContactRequest(account: String, address: JsonAddress, name: String?, color: String?, inboxPosition: Int?) : SignaldRequestBodyV1<UpdateContact, 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

getTypedResponseOrNull
Link copied to clipboard
common
open override fun getTypedResponseOrNull(responseWrapper: JsonMessageWrapper<*>): Profile?
A function to resolve the response body by verifying the type of the response and returning a non-null value iff the wrapper and data is the right type.
submit
Link copied to clipboard
common
fun submit(socketCommunicator: SocketCommunicator): 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.