View Source Nostr.Event.ChannelMessage (Nostr Lib v0.1.1) (event) (nip28)

Channel creation

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

Summary

Types

@type t() :: %Nostr.Event.ChannelMessage{
  channel: <<_::32, _::_*8>>,
  event: Nostr.Event.t(),
  message: String.t(),
  relay: URI.t(),
  reply_to: nil | <<_::32, _::_*8>>,
  type: :root | :reply
}

Functions

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