MessageRequestResponse
class MessageRequestResponse(recipient: Recipient, action: SyncRequest.MessageRequestResponse.Action) : SyncRequest
Content copied to clipboard
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)
Content copied to clipboard