GetLinkedDevicesRequest

data class GetLinkedDevicesRequest(account: String) : SignaldRequestBodyV1<GetLinkedDevices, LinkedDevices>

list all linked devices on a Signal account

Constructors

GetLinkedDevicesRequest
Link copied to clipboard
common
fun GetLinkedDevicesRequest(account: String)

Functions

getTypedResponseOrNull
Link copied to clipboard
common
open override fun getTypedResponseOrNull(responseWrapper: JsonMessageWrapper<*>): LinkedDevices?
A function to resolve the response body by verifying the type of the response and returning a non-null value iff the wrapper and data is the right type.
submit
Link copied to clipboard
common
fun submit(socketCommunicator: SocketCommunicator): LinkedDevices

Properties

account
Link copied to clipboard
common
val account: String
The account to interact with Example: "+12024561414"
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.