NIP-29: add banner tag to group metadata (kind:39000) (#2383)

This commit is contained in:
Anderson Juhasc
2026-07-15 21:10:57 -03:00
committed by GitHub
parent 223ddb3b0c
commit da1629e61b

3
29.md
View File

@@ -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.