Nostr. Event. Ephemeral
(Nostr Lib v0.2.1)
(event)
(nip16)
View Source
Ephemeral event
Defined in NIP 16 https://github.com/nostr-protocol/nips/blob/master/16.md
Summary
Functions
Parses a kind 20000-29999 event into an Ephemeral struct (not stored by relays).
Types
@type t() :: %Nostr.Event.Ephemeral{event: Nostr.Event.t(), user: <<_::32, _::_*8>>}
Functions
@spec parse(event :: Nostr.Event.t()) :: t()
Parses a kind 20000-29999 event into an Ephemeral struct (not stored by relays).