Implement NIP-04: Encrypted Direct Messages
This commit is contained in:
12
sig/nostr/events/encrypted_direct_message.rbs
Normal file
12
sig/nostr/events/encrypted_direct_message.rbs
Normal file
@@ -0,0 +1,12 @@
|
||||
module Nostr
|
||||
module Events
|
||||
class EncryptedDirectMessage < Event
|
||||
def initialize: (
|
||||
plain_text: String,
|
||||
sender_private_key: String,
|
||||
recipient_public_key: String,
|
||||
?previous_direct_message: String|nil
|
||||
) -> void
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user