nostr-websocket-utils

nostr-websocket-utils v0.3.0


nostr-websocket-utils / createChatMessageHandler

Function: createChatMessageHandler()

createChatMessageHandler(logger): ChatMessageHandler

Creates a chat message handler

Parameters

logger

Logger

Logger instance

Returns

ChatMessageHandler

Message handler

Defined in

nips/nip-28.ts:128