SealdRecipientsWithRightsArray_Add method
void
SealdRecipientsWithRightsArray_Add()
SealdRecipientsWithRightsArray_Add adds a recipient with its associated rights to the array. SealdRecipientsWithRightsArray_Add does not take ownership of the given strings and booleans. It creates copies for itself.
@param array The SealdRecipientsWithRightsArray to add the recipients-rights pair to. @param sealdId Internal Seald IDs. Returned for users with SealdSdk_getCurrentAccountInfo, for groups when creating them. @param readRight The right to read the message. @param forwardRight The right to forward the message to another user. @param revokeRight The right to revoke another user from a message, or to remove rights from them.
Implementation
void SealdRecipientsWithRightsArray_Add(
ffi.Pointer<NativeSealdRecipientsWithRightsArray> array,
ffi.Pointer<pkg_ffi.Utf8> sealdId,
int readRight,
int forwardRight,
int revokeRight,
) {
return _SealdRecipientsWithRightsArray_Add(
array,
sealdId,
readRight,
forwardRight,
revokeRight,
);
}