From 5e0c0b5fee21f272d983fe68d5ec3109369d4a72 Mon Sep 17 00:00:00 2001 From: Pablo Fernandez Date: Tue, 5 Dec 2023 10:10:48 +0000 Subject: [PATCH] add kind:12 --- 29.md | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/29.md b/29.md index 6c363773..9d0dbb5f 100644 --- a/29.md +++ b/29.md @@ -4,7 +4,7 @@ NIP-29 Relay-based Groups ------------------ -`draft` `optional` `author:fiatjaf` +`draft` `optional` This NIP defines a standard for groups that are only writable by a closed set of users. They can be public for reading by external users or not. @@ -38,9 +38,9 @@ Relays must strip the signature of messages in groups that are `private` so they ## Event definitions -- *text note* (`kind:11`) +- *text root note* (`kind:11`) -This is the basic unit of a "microblog" text note sent to a group. +This is the basic unit of a "microblog" root text note sent to a group. ```js "kind": 11, @@ -52,6 +52,21 @@ This is the basic unit of a "microblog" text note sent to a group. ... ``` +- *text reply note* (`kind:12`) + +This is the basic unit of a "microblog" reply note sent to a group. + +```js + "kind": 12, + "content": "pizza is disgusting and you should be ashamed", + "tags": [ + ["h", ""], + [ "e", ""], + ["previous", "", "", ...] + ] + ... +``` + - *chat message* (`kind:9`) Similar to `kind:11`, this is the basic unit of a chat message sent to a group.