GenerateLinkingURIRequest

data class GenerateLinkingURIRequest(server: String?) : SignaldRequestBodyV1<LinkingURI>

Generate a linking URI. Typically this is QR encoded and scanned by the primary device. Submit the returned session_id with a finish_link request.

Constructors

GenerateLinkingURIRequest
Link copied to clipboard
common
fun GenerateLinkingURIRequest(server: String? = null)

Functions

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

Properties

id
Link copied to clipboard
common
val id: String
The id to include in the request.
server
Link copied to clipboard
common
val server: String? = null
The identifier of the server to use.
version
Link copied to clipboard
common
val version: String
The version to include in the request.