nostr-websocket-utils / decryptDM
decryptDM(
message,recipientPrivkey,senderPubkey,logger):Promise<string>
Decrypts a received direct message event
Received message
string
Recipient’s private key
string
Sender’s public key
Logger instance
Promise<string>
Decrypted message content