nostr-websocket-utils

nostr-websocket-utils v0.3.0


nostr-websocket-utils / createChannelCreationEvent

Function: createChannelCreationEvent()

createChannelCreationEvent(metadata): NostrWSMessage

Creates a channel creation message

Parameters

metadata

ChannelMetadata

Channel metadata

Returns

NostrWSMessage

Channel creation event

Defined in

nips/nip-28.ts:39