mirror of
https://github.com/nostr-protocol/nips.git
synced 2026-07-22 07:48:25 +00:00
NIP-29: add banner tag to group metadata (kind:39000) (#2383)
This commit is contained in:
3
29.md
3
29.md
@@ -161,6 +161,7 @@ If the group is forked and hosted in multiple relays, there will be multiple ver
|
||||
["d", "<group-id>"],
|
||||
["name", "Pizza Lovers"],
|
||||
["picture", "https://pizza.com/pizza.png"],
|
||||
["banner", "https://pizza.com/banner.png"],
|
||||
["about", "a group for people who love pizza"],
|
||||
["private"],
|
||||
["closed"],
|
||||
@@ -170,7 +171,7 @@ If the group is forked and hosted in multiple relays, there will be multiple ver
|
||||
}
|
||||
```
|
||||
|
||||
- `name`, `picture` and `about` are basic metadata for the group for display purposes.
|
||||
- `name`, `picture`, `banner` and `about` are basic metadata for the group for display purposes.
|
||||
- `private` indicates that only members can _read_ group messages. Omitting this tag indicates that anyone can read group messages.
|
||||
- `restricted` indicates that only members can _write_ messages to the group. Omitting this tag indicates that anyone can send messages to the group.
|
||||
- `hidden` indicates that relays should hide group metadata from non-members. Omitting this tag indicates that anyone can request group metadata events.
|
||||
|
||||
Reference in New Issue
Block a user