Skip to content

RecipientWithRights

data class RecipientWithRights(val recipientId: String, val rights: RecipientRights? = null)

RecipientWithRight represents a recipient with associated rights. Default rights are: read: true, forward: true, revoke: false Default rights for the current user when creating an encryptionSession are read: true, forward: true, revoke: true

Constructors

RecipientWithRightsconstructor(recipientId: String, rights: RecipientRights? = null)

Properties

NameSummary
recipientIdval recipientId: String
Internal Seald IDs. Returned for users with sdk.getCurrentAccountInfo, for groups when creating them.
rightsval rights: RecipientRights? = null
The rights for the associated recipient ID.