SyncRequest

sealed class SyncRequest

Used with the org.inthewaves.kotlinsignald.Signal.sendSyncRequest function for SendSyncMessageRequest to send sync requests to other devices.

Types

Link copied to clipboard
class MessageRequestResponse(recipient: Recipient, action: SyncRequest.MessageRequestResponse.Action) : SyncRequest

For use in the org.inthewaves.kotlinsignald.Signal.sendSyncRequest to respond to incoming message requests. Users and group conversations can be requested to be deleted from other devices, and it's also possible to request other devices block messages (note that signald itself doesn't handle blocking at the moment).

Link copied to clipboard
class ViewOnceOpened(sender: JsonAddress, messageTimestamp: Long) : SyncRequest

Corresponds to constructing an instance of JsonViewOnceOpenMessage

Inheritors

Link copied to clipboard
Link copied to clipboard