Nostr.Event.Regular (Nostr Lib v0.2.1) (event) (nip16)

View Source

Regular event

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

Summary

Functions

Parses a kind 1000-9999 event into a Regular struct (stored by relays).

Types

t()

@type t() :: %Nostr.Event.Regular{event: Nostr.Event.t()}

Functions

parse(event)

@spec parse(event :: Nostr.Event.t()) :: t()

Parses a kind 1000-9999 event into a Regular struct (stored by relays).