nostr-websocket-utils

nostr-websocket-utils v0.3.16


nostr-websocket-utils / createChannelMessage

Function: createChannelMessage()

createChannelMessage(channelId, content, replyTo?): NostrWSMessage

Defined in: nips/nip-28.ts:56

Creates a channel message

Parameters

channelId

string

Channel ID

content

string

Message content

replyTo?

string

Optional ID of message being replied to

Returns

NostrWSMessage

Channel message event