NIP-C7 defines kind 9 as the event kind for chat messages. The goal is to separate chat-oriented traffic from general social feed traffic, so clients can apply different UX and moderation rules to each context.

How It Works

A kind 9 event carries message content plus tags that identify the chat context. In NIP-29 relay-based groups, the event includes an h tag with the group ID. Reply threading uses q tags that reference earlier events.

NIP-C7 is focused on where these events should be rendered. Instead of appearing in global note feeds like kind 1 text notes, kind 9 events are intended for chat-oriented views where conversation state and threading are explicit.

Implementations


Primary sources:

Mentioned in:

See also: