View Source Nostr.Event.Metadata (Nostr Lib v0.1.1) (event) (nip01)
Set metadata
Defined in NIP 01 https://github.com/nostr-protocol/nips/blob/master/01.md
Summary
Functions
Create new Nostr.Event.Metadata
struct
Parse generic Nostr.Event
to Nostr.Event.Metadata
struct
Types
Functions
@spec create( name :: String.t(), about :: String.t(), picture :: URI.t() | String.t(), nip05 :: String.t(), opts :: Keyword.t() ) :: t()
Create new Nostr.Event.Metadata
struct
Arguments:
@spec parse(event :: Nostr.Event.t()) :: t()
Parse generic Nostr.Event
to Nostr.Event.Metadata
struct