# new JoinGroupQuery(query)
Creates a JoinGroupQuery.
Parameters:
Name | Type | Description |
---|---|---|
query |
UpdateGroupMembersQuery | Group Members Query |
Methods
# (static) create(groupId) → {JoinGroupQuery}
Create query to add users to a group.
Parameters:
Name | Type | Description |
---|---|---|
groupId |
string | Group ID. |
Returns:
New instance.
- Type
- JoinGroupQuery
# withInvitationToken(token) → {JoinGroupQuery}
Add invitation token.
Parameters:
Name | Type | Description |
---|---|---|
token |
string | Invitation token. |
Returns:
Same instance.
- Type
- JoinGroupQuery