mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-07-29 08:18:28 -04:00
add nip-10 note
This commit is contained in:
7
29.md
7
29.md
@@ -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.
|
||||
|
Reference in New Issue
Block a user