Nostr.Event.ChannelHideMessage (Nostr Lib v0.2.1) (event) (nip28)

View Source

Channel hide message

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

Summary

Functions

Parses a kind 43 event into a ChannelHideMessage struct with reason.

Types

t()

@type t() :: %Nostr.Event.ChannelHideMessage{
  event: Nostr.Event.t(),
  message_id: <<_::32, _::_*8>>,
  other: map(),
  reason: String.t()
}

Functions

parse(event)

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

Parses a kind 43 event into a ChannelHideMessage struct with reason.