SetProfile

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

Functions

Link copied to clipboard
fun submit(socketCommunicator: SocketCommunicator): EmptyResponse
open override fun submit(socketCommunicator: SocketCommunicator, id: String): EmptyResponse
Link copied to clipboard
suspend fun submitSuspend(socketCommunicator: SuspendSocketCommunicator): EmptyResponse
open suspend override fun submitSuspend(socketCommunicator: SuspendSocketCommunicator, id: String): EmptyResponse

Properties

Link copied to clipboard
val about: String? = null

Change the 'about' profile field

Link copied to clipboard
val account: String

The phone number of the account to use

Link copied to clipboard
val avatarFile: String? = null

Path to new profile avatar file. If unset or null, unset the profile avatar

Link copied to clipboard
val emoji: String? = null

Change the profile emoji

Link copied to clipboard
val id: String

The id to include in the request. This is expected to be present in the response JSON.

Link copied to clipboard
val mobilecoinAddress: String? = null

Change the profile payment address. Payment address must be a base64-encoded MobileCoin address. Note that this is not the traditional MobileCoin address encoding, which is custom. Clients are responsible for converting between MobileCoin's custom base58 on the user-facing side and base64 encoding on the signald side.

Link copied to clipboard
val name: String? = null

Change the profile name

Link copied to clipboard
val version: String

The version to include in the request. As this class won't be used to deserialize the response, the Required annotation is being used to force this field to be serialized

Link copied to clipboard
val visibleBadgeIds: List<String>? = null

configure visible badge IDs