SetProfile

data class SetProfile(account: String, name: String, avatarFile: String?, about: String?, emoji: String?, mobilecoinAddress: String?) : SignaldRequestBodyV1<SetProfile, EmptyResponse>

Functions

getTypedResponseOrNull
Link copied to clipboard
common
open override fun getTypedResponseOrNull(responseWrapper: JsonMessageWrapper<*>): EmptyResponse?
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): EmptyResponse

Properties

about
Link copied to clipboard
common
val about: String? = null
an optional about string.
account
Link copied to clipboard
common
val account: String
The phone number of the account to use Example: "+12024561414"
avatarFile
Link copied to clipboard
common
val avatarFile: String? = null
Path to new profile avatar file.
emoji
Link copied to clipboard
common
val emoji: String? = null
an optional single emoji character.
id
Link copied to clipboard
common
val id: String
The id to include in the request.
mobilecoinAddress
Link copied to clipboard
common
val mobilecoinAddress: String? = null
an optional base64-encoded MobileCoin address to set in the profile.
name
Link copied to clipboard
common
val name: String
New profile name.
version
Link copied to clipboard
common
val version: String
The version to include in the request.