AddLinkedDeviceRequest

data class AddLinkedDeviceRequest(account: String, uri: String) : SignaldRequestBodyV1<EmptyResponse>

Link a new device to a local Signal account

Constructors

AddLinkedDeviceRequest
Link copied to clipboard
common
fun AddLinkedDeviceRequest(account: String, uri: String)

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

account
Link copied to clipboard
common
val account: String
The account to interact withExample: "+12024561414"
id
Link copied to clipboard
common
val id: String
The id to include in the request.
uri
Link copied to clipboard
common
val uri: String
the tsdevice:/ uri provided (typically in qr code form) by the new deviceExample: "tsdevice:/?
version
Link copied to clipboard
common
val version: String
The version to include in the request.