ResolveAddressRequest

data class ResolveAddressRequest(account: String, partial: JsonAddress) : SignaldRequestBodyV1<JsonAddress>

Resolve a partial JsonAddress with only a number or UUID to one with both. Anywhere that signald accepts a JsonAddress will except a partial, this is a convenience function for client authors, mostly because signald doesn't resolve all the partials it returns

Constructors

ResolveAddressRequest
Link copied to clipboard
common
fun ResolveAddressRequest(account: String, partial: JsonAddress)

Functions

submit
Link copied to clipboard
common
fun submit(socketCommunicator: SocketCommunicator): JsonAddress
submitSuspend
Link copied to clipboard
common
suspend fun submitSuspend(socketCommunicator: SuspendSocketCommunicator): JsonAddress

Properties

account
Link copied to clipboard
common
val account: String
The signal account to useExample: "+12024561414"
id
Link copied to clipboard
common
val id: String
The id to include in the request.
partial
Link copied to clipboard
common
val partial: JsonAddress
The partial address, missing fields
version
Link copied to clipboard
common
val version: String
The version to include in the request.