It's KindEncryptedDirectMessage. This is the struct. nip4.go has encryption functions

ev := nostr.Event{

PubKey: pub,

CreatedAt: nostr.Now(),

Kind: KindEncryptedDirectMessage,

Tags: nil,

Content: need to encrypt this,

}

Reply to this note

Please Login to reply.

Discussion

No replies yet.