diff options
| author | Zig Blathazar <42387185+ZigBalthazar@users.noreply.github.com> | 2024-09-12 16:45:47 +0330 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-12 10:15:47 -0300 |
| commit | 37a02e817b4b3e3ee7599fb1d28d97db133ef05c (patch) | |
| tree | a52e4a9a32ebd0f6fb0af7c5d6b061d3f59d1d26 | |
| parent | 8a427ea6d682a11416b2cccdd3e1aec492533cf8 (diff) | |
custom emojis in reactions (#1492)
| -rw-r--r-- | 30.md | 16 |
1 files changed, 16 insertions, 0 deletions
| @@ -54,3 +54,19 @@ In kind 1 events, the `content` should be emojified. | |||
| 54 | "created_at": 1682630000 | 54 | "created_at": 1682630000 |
| 55 | } | 55 | } |
| 56 | ``` | 56 | ``` |
| 57 | |||
| 58 | ### Kind 7 events | ||
| 59 | |||
| 60 | In kind 7 events, the `content` should be emojified. | ||
| 61 | |||
| 62 | ```json | ||
| 63 | { | ||
| 64 | "kind": 7, | ||
| 65 | "content": ":dezh:", | ||
| 66 | "tags": [ | ||
| 67 | ["emoji", "dezh", "https://raw.githubusercontent.com/dezh-tech/brand-assets/main/dezh/logo/black-normal.svg"] | ||
| 68 | ], | ||
| 69 | "pubkey": "79c2cae114ea28a981e7559b4fe7854a473521a8d22a66bbab9fa248eb820ff6", | ||
| 70 | "created_at": 1682630000 | ||
| 71 | } | ||
| 72 | ``` | ||