Skip to main content

Module kind

Module kind 

Source
Expand description

Inner rumor kinds (CORD-02 Appendix B). The outer event is always a wrap (stream::KIND_WRAP / stream::KIND_WRAP_EPHEMERAL); these ride inside.

Constants§

COMMENT
Threaded reply (NIP-22 comment, CORD-03 §3): uppercase K/E/P pin the thread root, lowercase k/e/p the immediate parent — all rumor ids. Deliberately distinct from a kind-9 inline quote.
COMMUNITY_LIST
A member’s self-encrypted Community List (replaceable). Outside the wrap.
CONTROL
Control edition, sub-kinded by vsk (shared grammar with v1 — community::edition).
DELETE
Delete (NIP-09 shape: e names the author’s own rumor id).
DIRECT_INVITE
Direct invite rumor — rides a STANDARD NIP-59 giftwrap to a person, never a stream wrap (CORD-05 §6).
EDIT
Message edit (fields unpinned upstream; Vector: e = own message rumor id, content = replacement text).
INVITE_BUNDLE
Public invite bundle — bare addressable event signed by the per-link keypair at an empty d (CORD-05 §2). Outside the wrap.
INVITE_LIST
A creator’s self-encrypted Invite List (replaceable). Outside the wrap.
JOIN_LEAVE
Guestbook join/leave (content = the verb).
KICK
Guestbook kick (admin-signed, p target, vac citation).
MESSAGE
Chat message (NIP-C7 shape: content = text; a q tag = an INLINE quote).
REACTION
Reaction (NIP-25 shape: e/p/k tags name the target — k is the target’s kind, 9 or 1111).
REKEY
Rekey blobs (CORD-06).
SNAPSHOT
Guestbook snapshot (refounder-signed, chunked 400/event).
TYPING
Typing indicator (ephemeral tier — 21059 wrap, never stored).
VOICE_PRESENCE
Voice presence heartbeat (ephemeral tier; CORD-07 — deferred in Vector, constant reserved so nothing else claims it).
WEBXDC
WebXDC peer signal (payload opaque to the protocol).