MessageRequestResponse

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).

Corresponds to constructing an instance of JsonMessageRequestResponseMessage.

Warning: Using the Action.BLOCK and Action.BLOCK_AND_DELETE options relies on other devices to do the blocking, and it does not make you leave the group!

Constructors

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

Types

Link copied to clipboard
enum Action : Enum<SyncRequest.MessageRequestResponse.Action>

Properties

Link copied to clipboard
val action: SyncRequest.MessageRequestResponse.Action
Link copied to clipboard
val recipient: Recipient