isRegisteredWithSignald

js
suspend fun isRegisteredWithSignald(): Boolean

Whether the accountId of this Signal instance is registered with signald. This will do a check with the socket to ensure that the account is present with signald.

Note that this does not detect registration with the Signal service itself. See [https://gitlab.com/signald/signald/-/issues/192] for an issue about checking login status with the Signal service

Throws

RequestFailedException

if signald sends an error response or the incoming message is invalid

SignaldException

if the request to the socket fails

synchronousClient
val isRegisteredWithSignald: Boolean

Whether the accountId of this Signal instance is registered with signald. This will do a check with the socket to ensure that the account is present with signald.

Note that this does not detect registration with the Signal service itself. See [https://gitlab.com/signald/signald/-/issues/192] for an issue about checking login status with the Signal service

Throws

org.inthewaves.kotlinsignald.clientprotocol.RequestFailedException

if signald sends an error response or the incoming message is invalid

org.inthewaves.kotlinsignald.clientprotocol.SignaldException

if the request to the socket fails