Account

data class Account(address: JsonAddress?, pending: Boolean?, pni: String?, deviceId: Int?, accountId: String?) : SignaldResponseBodyV1

A local account in signald

Constructors

Link copied to clipboard
fun Account(address: JsonAddress? = null, pending: Boolean? = null, pni: String? = null, deviceId: Int? = null, accountId: String? = null)

Properties

Link copied to clipboard
val accountId: String? = null

The primary identifier on the account, included with all requests to signald for this account. Previously called 'username'

Link copied to clipboard
val address: JsonAddress? = null

The address of this account

Link copied to clipboard
val deviceId: Int? = null

The Signal device ID. Official Signal mobile clients (iPhone and Android) have device ID = 1, while linked devices such as Signal Desktop or Signal iPad have higher device IDs.

Link copied to clipboard
val pending: Boolean? = null

indicates the account has not completed registration

Link copied to clipboard
val pni: String? = null