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

Link to this section Summary

Link to this section Functions

Link to this function

create(content, local_pubkey, remote_pubkey)

View Source
@spec create(binary(), K256.Schnorr.verifying_key(), K256.Schnorr.verifying_key()) ::
  %Nostr.Event.Types.EncryptedDirectMessageEvent{
    decrypted: term(),
    decryption_error: term(),
    event: term()
  }