Relay can provide a list of emoji

This commit is contained in:
Bruno Bernard 2023-07-25 01:11:59 +04:00 committed by GitHub
parent 4a386e645c
commit c4107e9d52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

18
11.md
View File

@ -267,6 +267,24 @@ A URL pointing to an image to be used as an icon for the relay. Recommended to b
}
```
### Emojis ###
Related to [NIP-30](./30.md), a relay can provide a list of emojis.
```json
{
...
"emojis": {
"soapbox": "https://gleasonator.com/emoji/Gleasonator/soapbox.png",
"ablobcatrainbow": "https://gleasonator.com/emoji/blobcat/ablobcatrainbow.png",
"disputed": "https://gleasonator.com/emoji/Fun/disputed.png",
"gleasonator": "https://gleasonator.com/emoji/Gleasonator/gleasonator.png"
}
...
}
```
### Examples ###
As of 2 May 2023 the following `curl` command provided these results.