diff options
| author | Oscar Merry <MerryOscar@users.noreply.github.com> | 2025-02-09 23:51:52 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-09 23:51:52 +0000 |
| commit | e41185867f60061bb12ae092c6f7162571c06891 (patch) | |
| tree | d33edabf773864357abeb6f61f8534256516dd5c | |
| parent | 5991afb9cf7ec06866d9f9afd7ec2359109a3b2a (diff) | |
NIP-53 Live Events - Optional Pinned Chat Messages (#1577)
| -rw-r--r-- | 53.md | 5 |
1 files changed, 4 insertions, 1 deletions
| @@ -35,7 +35,8 @@ For example: | |||
| 35 | ["p", "91cf9..4e5ca", "wss://provider1.com/", "Host", "<proof>"], | 35 | ["p", "91cf9..4e5ca", "wss://provider1.com/", "Host", "<proof>"], |
| 36 | ["p", "14aeb..8dad4", "wss://provider2.com/nostr", "Speaker"], | 36 | ["p", "14aeb..8dad4", "wss://provider2.com/nostr", "Speaker"], |
| 37 | ["p", "612ae..e610f", "ws://provider3.com/ws", "Participant"], | 37 | ["p", "612ae..e610f", "ws://provider3.com/ws", "Participant"], |
| 38 | ["relays", "wss://one.com", "wss://two.com", /*...*/] | 38 | ["relays", "wss://one.com", "wss://two.com", /*...*/], |
| 39 | ["pinned", "<event id of pinned live chat message>"], | ||
| 39 | ], | 40 | ], |
| 40 | "content": "", | 41 | "content": "", |
| 41 | // other fields... | 42 | // other fields... |
| @@ -75,6 +76,8 @@ Event `kind:1311` is live chat's channel message. Clients MUST include the `a` t | |||
| 75 | } | 76 | } |
| 76 | ``` | 77 | ``` |
| 77 | 78 | ||
| 79 | Hosts may choose to pin one or more live chat messages by updating the `pinned` tags in the live event kind `30311`. | ||
| 80 | |||
| 78 | ## Use Cases | 81 | ## Use Cases |
| 79 | 82 | ||
| 80 | Common use cases include meeting rooms/workshops, watch-together activities, or event spaces, such as [zap.stream](https://zap.stream). | 83 | Common use cases include meeting rooms/workshops, watch-together activities, or event spaces, such as [zap.stream](https://zap.stream). |