@signumjs/core
Version:
Principal package with functions and models for building Signum Network applications.
20 lines (19 loc) • 693 B
TypeScript
import { DefaultSendArgs } from './defaultSendArgs';
/**
* The argument object for {@link MessageApi.sendEncryptedMessage}
*
* @param message The message that will be encrypted
* @param messageIsText Determine whether content is text or binary data. Defaults to true
* @param recipientId The id of the recipient
* @param recipientPublicKey The recipients public key in hex format.
* @param senderAgreementKey The senders agreement key used for encryption
*
* @category args
*/
export interface SendEncryptedMessageArgs extends DefaultSendArgs {
message: string;
messageIsText?: boolean;
recipientId: string;
recipientPublicKey: string;
senderAgreementKey: string;
}