View Source Nostr.Event.ListMute (Nostr Lib v0.1.1) (event) (nip51)

List mute event

Defined in NIP 51 https://github.com/nostr-protocol/nips/blob/master/51.md

Summary

Types

@type t() :: %Nostr.Event.ListMute{
  event: Nostr.Event.t(),
  private_mute: :not_loaded | [<<_::32, _::_*8>>],
  public_mute: [<<_::32, _::_*8>>]
}

Functions

Link to this function

create(note, opts \\ [])

View Source
@spec create(note :: String.t(), opts :: Keyword.t()) :: t()

Create new Note Nostr event

Arguments:

  • note textual note used as content
  • opts other optional event arguments (pubkey, created_at, tags)
Link to this function

decrypt_private_list(event, seckey)

View Source
@spec decrypt_private_list(event :: t(), seckey :: <<_::32, _::_*8>>) :: t()
@spec parse(event :: Nostr.Event.t()) :: t()