mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 16:35:52 -05:00
Merge pull request #181 from thesimplekid/patch-1
This commit is contained in:
commit
6aa694c2e7
8
28.md
8
28.md
|
@ -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>],
|
||||||
...
|
...
|
||||||
],
|
],
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in New Issue
Block a user