add nip-10 note

This commit is contained in:
Pablo Fernandez 2023-12-05 10:17:33 +00:00 committed by fiatjaf
parent 5e0c0b5fee
commit 6698d91382

7
29.md
View File

@ -61,12 +61,17 @@ This is the basic unit of a "microblog" reply note sent to a group.
"content": "pizza is disgusting and you should be ashamed",
"tags": [
["h", "<group-id>"],
[ "e", "<reply-event-id>"],
["e", "<reply-event-id>", "", "root"],
["previous", "<event-id>", "<event-id>", ...]
]
...
```
Replies SHOULD use NIP-10 markers, leaving an empty relay url:
* `["e", "<kind-11-root-id>", "", "root"]`
* `["e", "<kind-12-event-id>", "", "reply"]`
- *chat message* (`kind:9`)
Similar to `kind:11`, this is the basic unit of a chat message sent to a group.