mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 16:35:52 -05:00
add nip-10 note
This commit is contained in:
parent
5e0c0b5fee
commit
6698d91382
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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user