buzz_add_member
Add a person to a channel with an optional role; permissions are enforced, and the added user gains access to the channel's prior history.
Instructions
Add a person to a channel (NIP-29 kind 9000), as you. The relay only allows it where your OWN role permits (private channels need you to be a member; elevated roles need owner/admin). NOTE: the added person can then see the channel's prior history. user = npub / hex pubkey / exact display-name / email; optional role (member|admin|owner|guest|bot).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | member|admin|owner|guest|bot (default member; elevated needs your owner/admin) | |
| user | Yes | npub / hex pubkey / exact display name / email | |
| channel | Yes |