Constructors
Properties
Accessors
about
- get about(): undefined | string
Returns undefined | string
admins
- get admins(): string[] | []
Returns string[] | []
id
- get id(): string
Returns string
members
- get members(): string[] | []
Returns string[] | []
name
- get name(): undefined | string
Returns undefined | string
picture
- get picture(): undefined | string
Returns undefined | string
Methods
ensureMetadataEvent
- ensureMetadataEvent(): Promise<void>
Returns Promise<void>
relayUrls
- relayUrls(): string[]
Returns string[]
requestToJoin
- requestToJoin(pubkey: string, content?: string): Promise<Set<NDKRelay>>
Parameters
- pubkey: string
Optional
content: string
Returns Promise<Set<NDKRelay>>
setMetadata
- setMetadata(__namedParameters: {
about?: string;
name?: string;
picture?: string;
}): Promise<Set<NDKRelay>> Parameters
- __namedParameters: {
about?: string;
name?: string;
picture?: string;
}Optional
about?: string
Optional
name?: string
Optional
picture?: string
Returns Promise<Set<NDKRelay>>
Static
generateAddUserEvent
- generateAddUserEvent(userPubkey: string, groupId: string): NDKEvent
Parameters
- userPubkey: string
- groupId: string
Static
generateUserListEvent
- generateUserListEvent(groupId: string): NDKEvent
Represents a NIP-29 group.
Catergory
Kind Wrapper