Profile

data class Profile(name: String?, avatar: String?, address: JsonAddress?, capabilities: Capabilities?, color: String?, about: String?, emoji: String?, contactName: String?, profileName: String?, inboxPosition: Int?, expirationTime: Int?, mobilecoinAddress: String?, visibleBadgeIds: List<String>) : SignaldResponseBodyV1

Information about a Signal user

Constructors

Link copied to clipboard
fun Profile(name: String? = null, avatar: String? = null, address: JsonAddress? = null, capabilities: Capabilities? = null, color: String? = null, about: String? = null, emoji: String? = null, contactName: String? = null, profileName: String? = null, inboxPosition: Int? = null, expirationTime: Int? = null, mobilecoinAddress: String? = null, visibleBadgeIds: List<String> = emptyList())

Properties

Link copied to clipboard
val about: String? = null
Link copied to clipboard
val address: JsonAddress? = null
Link copied to clipboard
val avatar: String? = null

path to avatar on local disk

Link copied to clipboard
val capabilities: Capabilities? = null
Link copied to clipboard
val color: String? = null

color of the chat with this user

Link copied to clipboard
val contactName: String? = null

The user's name from local contact names

Link copied to clipboard
val emoji: String? = null
Link copied to clipboard
val expirationTime: Int? = null
Link copied to clipboard
val inboxPosition: Int? = null
Link copied to clipboard
val mobilecoinAddress: String? = null

base64-encoded mobilecoin address. Note that this is not the traditional MobileCoin address encoding. Clients are responsible for converting between MobileCoin's custom base58 on the user-facing side and base64 encoding on the signald side. If unset, null or an empty string, will empty the profile payment address

Link copied to clipboard
val name: String? = null

The user's name from local contact names if available, or if not in contact list their Signal profile name

Link copied to clipboard
val profileName: String? = null

The user's Signal profile name

Link copied to clipboard
val visibleBadgeIds: List<String>

currently unclear how these work, as they are not available in the production Signal apps