View Source Nostr.Event.Note (Nostr Lib v0.1.1) (event) (nip01)
Text note
Defined in NIP 01 https://github.com/nostr-protocol/nips/blob/master/01.md
Summary
Types
@type t() :: %Nostr.Event.Note{ author: <<_::32, _::_*8>>, event: Nostr.Event.t(), note: String.t(), reply_to: [<<_::32, _::_*8>>], reply_to_authors: [<<_::32, _::_*8>>] }
Functions
Create new Note Nostr event
Arguments:
note
textual note used as contentopts
other optional event arguments (pubkey
,created_at
,tags
)
@spec parse(event :: Nostr.Event.t()) :: t()