js-bao-wss-client / AddGroupMemberParams
Type Alias: AddGroupMemberParams
AddGroupMemberParams = {
email?:never;userId:string; } | {string;userId?:never; }
Identifies the user to add via groups.addMember() — either an existing user's userId or an email (which may belong to someone who has not signed up yet). Provide exactly one of the two.
Union Members
Type Literal
{ email?: never; userId: string; }
email?
optionalemail?:never
userId
userId:
string
The user's ID (mutually exclusive with email)
Type Literal
{ email: string; userId?: never; }
email
email:
string
The user's email address (mutually exclusive with userId)
userId?
optionaluserId?:never