mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 08:25:53 -05:00
Live Events - Optional Pinned Chat Messages
This commit is contained in:
parent
b79e46d33c
commit
4beca330ef
5
53.md
5
53.md
|
@ -35,7 +35,8 @@ For example:
|
||||||
["p", "91cf9..4e5ca", "wss://provider1.com/", "Host", "<proof>"],
|
["p", "91cf9..4e5ca", "wss://provider1.com/", "Host", "<proof>"],
|
||||||
["p", "14aeb..8dad4", "wss://provider2.com/nostr", "Speaker"],
|
["p", "14aeb..8dad4", "wss://provider2.com/nostr", "Speaker"],
|
||||||
["p", "612ae..e610f", "ws://provider3.com/ws", "Participant"],
|
["p", "612ae..e610f", "ws://provider3.com/ws", "Participant"],
|
||||||
["relays", "wss://one.com", "wss://two.com", /*...*/]
|
["relays", "wss://one.com", "wss://two.com", /*...*/],
|
||||||
|
["pinned", "<event id of pinned live chat message>"],
|
||||||
],
|
],
|
||||||
"content": "",
|
"content": "",
|
||||||
// other fields...
|
// other fields...
|
||||||
|
@ -75,6 +76,8 @@ Event `kind:1311` is live chat's channel message. Clients MUST include the `a` t
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Hosts may choose to pin one or more live chat messages by updating the `pinned` tags in the live event kind `30311`.
|
||||||
|
|
||||||
## Use Cases
|
## Use Cases
|
||||||
|
|
||||||
Common use cases include meeting rooms/workshops, watch-together activities, or event spaces, such as [zap.stream](https://zap.stream).
|
Common use cases include meeting rooms/workshops, watch-together activities, or event spaces, such as [zap.stream](https://zap.stream).
|
||||||
|
|
Loading…
Reference in New Issue
Block a user