diff options
| author | Pablo Fernandez <p@f7z.io> | 2023-12-05 10:17:33 +0000 |
|---|---|---|
| committer | fiatjaf <fiatjaf@gmail.com> | 2024-02-23 20:52:15 -0300 |
| commit | 6698d91382a72922dfee3bc7c20163ab8f70d0eb (patch) | |
| tree | 498348a94f6f916ed278c70b28811d71b41cd83f | |
| parent | 5e0c0b5fee21f272d983fe68d5ec3109369d4a72 (diff) | |
add nip-10 note
| -rw-r--r-- | 29.md | 7 |
1 files changed, 6 insertions, 1 deletions
| @@ -61,12 +61,17 @@ This is the basic unit of a "microblog" reply note sent to a group. | |||
| 61 | "content": "pizza is disgusting and you should be ashamed", | 61 | "content": "pizza is disgusting and you should be ashamed", |
| 62 | "tags": [ | 62 | "tags": [ |
| 63 | ["h", "<group-id>"], | 63 | ["h", "<group-id>"], |
| 64 | [ "e", "<reply-event-id>"], | 64 | ["e", "<reply-event-id>", "", "root"], |
| 65 | ["previous", "<event-id>", "<event-id>", ...] | 65 | ["previous", "<event-id>", "<event-id>", ...] |
| 66 | ] | 66 | ] |
| 67 | ... | 67 | ... |
| 68 | ``` | 68 | ``` |
| 69 | 69 | ||
| 70 | Replies SHOULD use NIP-10 markers, leaving an empty relay url: | ||
| 71 | |||
| 72 | * `["e", "<kind-11-root-id>", "", "root"]` | ||
| 73 | * `["e", "<kind-12-event-id>", "", "reply"]` | ||
| 74 | |||
| 70 | - *chat message* (`kind:9`) | 75 | - *chat message* (`kind:9`) |
| 71 | 76 | ||
| 72 | Similar to `kind:11`, this is the basic unit of a chat message sent to a group. | 77 | Similar to `kind:11`, this is the basic unit of a chat message sent to a group. |