Skip to content

RecipientRights

data class RecipientRights(val read: Boolean = true, val forward: Boolean = true, val revoke: Boolean = false)

RecipientRights represents the rights a user can have over an encrypted message or an encryption session.

Constructors

RecipientRightsconstructor(read: Boolean = true, forward: Boolean = true, revoke: Boolean = false)

Properties

NameSummary
forwardval forward: Boolean = true
The right to revoke another user from a message, or to remove rights from them.
readval read: Boolean = true
The right to read the message.
revokeval revoke: Boolean = false
The right to forward the message to another user.