RemoveLinkedDeviceRequest

data class RemoveLinkedDeviceRequest(account: String, deviceId: Long) : SignaldRequestBodyV1<EmptyResponse>

Remove a linked device from the Signal account. Only allowed when the local device id is 1

Constructors

RemoveLinkedDeviceRequest
Link copied to clipboard
common
fun RemoveLinkedDeviceRequest(account: String, deviceId: Long)

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"
deviceId
Link copied to clipboard
common
val deviceId: Long
the ID of the device to unlinkExample: 3
id
Link copied to clipboard
common
val id: String
The id to include in the request.
version
Link copied to clipboard
common
val version: String
The version to include in the request.