diff options
Diffstat (limited to '53.md')
| -rw-r--r-- | 53.md | 8 |
1 files changed, 7 insertions, 1 deletions
| @@ -63,7 +63,7 @@ This feature is important to avoid malicious event owners adding large account h | |||
| 63 | 63 | ||
| 64 | ### Live Chat Message | 64 | ### Live Chat Message |
| 65 | 65 | ||
| 66 | Event `kind:1311` is live chat's channel message. Clients MUST include the `a` tag of the activity with a `root` marker. Other Kind-1 tags such as `reply` and `mention` can also be used. | 66 | Event `kind:1311` is live chat's channel message. Clients MUST include the `a` tag of the activity. An `e` tag denotes the direct parent message this post is replying to. |
| 67 | 67 | ||
| 68 | ```jsonc | 68 | ```jsonc |
| 69 | { | 69 | { |
| @@ -76,6 +76,12 @@ Event `kind:1311` is live chat's channel message. Clients MUST include the `a` t | |||
| 76 | } | 76 | } |
| 77 | ``` | 77 | ``` |
| 78 | 78 | ||
| 79 | `q` tags MAY be used when citing events in the `.content` with [NIP-21](21.md). | ||
| 80 | |||
| 81 | ```json | ||
| 82 | ["q", "<event-id> or <event-address>", "<relay-url>", "<pubkey-if-a-regular-event>"] | ||
| 83 | ``` | ||
| 84 | |||
| 79 | Hosts may choose to pin one or more live chat messages by updating the `pinned` tags in the live event kind `30311`. | 85 | Hosts may choose to pin one or more live chat messages by updating the `pinned` tags in the live event kind `30311`. |
| 80 | 86 | ||
| 81 | ## Use Cases | 87 | ## Use Cases |