View Source Nostr.Event.Types.EncryptedDirectMessageEvent (Nostr v0.1.3)

Encrypted direct message event management, including event creation and parsing

Link to this section Summary

Link to this section Types

@type t() :: %Nostr.Event.Types.EncryptedDirectMessageEvent{
  decrypted: term(),
  decryption_error: term(),
  event: term()
}

Link to this section Functions

Link to this function

create(content, local_pubkey, remote_pubkey)

View Source
@spec create(String.t() | nil, K256.Schnorr.verifying_key(), <<_::256>>) :: t()