mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-25 17:55:51 -05:00
Relay can provide a list of emoji
This commit is contained in:
parent
4a386e645c
commit
c4107e9d52
18
11.md
18
11.md
|
@ -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 ###
|
### Examples ###
|
||||||
As of 2 May 2023 the following `curl` command provided these results.
|
As of 2 May 2023 the following `curl` command provided these results.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user