nostr-websocket-utils / createEncryptedDM
createEncryptedDM(
content
,recipientPubkey
,senderPrivkey
,tags
):Promise
<NostrWSMessage
>
Creates an encrypted direct message event
string
Message content to encrypt
string
Recipient's public key
string
Sender's private key
string
[][] = []
Additional tags for the event
Promise
<NostrWSMessage
>
Encrypted message event