IsIdentifierRegisteredRequest

data class IsIdentifierRegisteredRequest(account: String, identifier: String) : SignaldRequestBodyV1<BooleanMessage>

Determine whether an account identifier is registered on the Signal service.

Constructors

Link copied to clipboard
fun IsIdentifierRegisteredRequest(account: String, identifier: String)

Functions

Link copied to clipboard
fun submit(socketCommunicator: SocketCommunicator): BooleanMessage
open override fun submit(socketCommunicator: SocketCommunicator, id: String): BooleanMessage
Link copied to clipboard
suspend fun submitSuspend(socketCommunicator: SuspendSocketCommunicator): BooleanMessage
open suspend override fun submitSuspend(socketCommunicator: SuspendSocketCommunicator, id: String): BooleanMessage

Properties

Link copied to clipboard
val account: String

The account to use to use

Link copied to clipboard
val id: String

The id to include in the request. This is expected to be present in the response JSON.

Link copied to clipboard
val identifier: String

The UUID of an identifier to check if it is registered on Signal. This UUID is either a Phone Number Identity (PNI) or an Account Identity (ACI).

Link copied to clipboard
val version: String

The version to include in the request. As this class won't be used to deserialize the response, the Required annotation is being used to force this field to be serialized