SetProfile

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

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

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 useExample: "+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.