From 5a3097c6e600051ecbe5b9fc7062d7ac4e0e1fe9 Mon Sep 17 00:00:00 2001 From: Pablo Fernandez Date: Mon, 25 Dec 2023 11:57:10 +0000 Subject: [PATCH] add optional list of members --- 29.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/29.md b/29.md index d342ce75..66d391ae 100644 --- a/29.md +++ b/29.md @@ -183,3 +183,22 @@ The list of capabilities, as defined by this NIP, for now, is the following: ... } ``` + +- *group members* (`kind:39002`) (optional) + +Similar to *group admins*, this event is supposed to be generated by relays that host the group. + +It's a NIP-51-like list of pubkeys that are members of the group. Relays might choose to not to publish this information or to restrict what pubkeys can fetch it. + +```json +{ + "kind": 39002, + "content": "list of members for the pizza lovers group", + "tags": [ + ["d", ""], + ["p", ""], + ["p", ""], + ["p", ""], + ] +} +```