Merge pull request #181 from thesimplekid/patch-1

This commit is contained in:
Leo Wandersleb 2023-01-22 12:57:20 -03:00 committed by GitHub
commit 6aa694c2e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

8
28.md
View File

@ -54,7 +54,7 @@ Clients SHOULD use [NIP-10](10.md) marked "e" tags to recommend a relay.
```json ```json
{ {
"content": "{\"name\": \"Updated Demo Channel\", \"about\": \"Updating a test channel.\", \"picture\": \"https://placekitten.com/201/201\"}", "content": "{\"name\": \"Updated Demo Channel\", \"about\": \"Updating a test channel.\", \"picture\": \"https://placekitten.com/201/201\"}",
"tags": [["e", <channel_create_event_id> <relay-url>]], "tags": [["e", <channel_create_event_id>, <relay-url>]],
... ...
} }
``` ```
@ -73,7 +73,7 @@ Root message:
```json ```json
{ {
"content": <string>, "content": <string>,
"tags": [["e", <kind_40_event_id> <relay-url> "root"]], "tags": [["e", <kind_40_event_id>, <relay-url>, "root"]],
... ...
} }
``` ```
@ -84,8 +84,8 @@ Reply to another message:
{ {
"content": <string>, "content": <string>,
"tags": [ "tags": [
["e", <kind_42_event_id> <relay-url> "reply"], ["e", <kind_42_event_id>, <relay-url>, "reply"],
["p", <pubkey> <relay-url>], ["p", <pubkey>, <relay-url>],
... ...
], ],
... ...