diff options
Diffstat (limited to '28.md')
| -rw-r--r-- | 28.md | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -54,7 +54,7 @@ Clients SHOULD use [NIP-10](10.md) marked "e" tags to recommend a relay. | |||
| 54 | ```json | 54 | ```json |
| 55 | { | 55 | { |
| 56 | "content": "{\"name\": \"Updated Demo Channel\", \"about\": \"Updating a test channel.\", \"picture\": \"https://placekitten.com/201/201\"}", | 56 | "content": "{\"name\": \"Updated Demo Channel\", \"about\": \"Updating a test channel.\", \"picture\": \"https://placekitten.com/201/201\"}", |
| 57 | "tags": [["e", <channel_create_event_id> <relay-url>]], | 57 | "tags": [["e", <channel_create_event_id>, <relay-url>]], |
| 58 | ... | 58 | ... |
| 59 | } | 59 | } |
| 60 | ``` | 60 | ``` |
| @@ -73,7 +73,7 @@ Root message: | |||
| 73 | ```json | 73 | ```json |
| 74 | { | 74 | { |
| 75 | "content": <string>, | 75 | "content": <string>, |
| 76 | "tags": [["e", <kind_40_event_id> <relay-url> "root"]], | 76 | "tags": [["e", <kind_40_event_id>, <relay-url>, "root"]], |
| 77 | ... | 77 | ... |
| 78 | } | 78 | } |
| 79 | ``` | 79 | ``` |
| @@ -84,8 +84,8 @@ Reply to another message: | |||
| 84 | { | 84 | { |
| 85 | "content": <string>, | 85 | "content": <string>, |
| 86 | "tags": [ | 86 | "tags": [ |
| 87 | ["e", <kind_42_event_id> <relay-url> "reply"], | 87 | ["e", <kind_42_event_id>, <relay-url>, "reply"], |
| 88 | ["p", <pubkey> <relay-url>], | 88 | ["p", <pubkey>, <relay-url>], |
| 89 | ... | 89 | ... |
| 90 | ], | 90 | ], |
| 91 | ... | 91 | ... |