Readonly
clientThe client the data model belongs to.
Readonly
idThe ID of the structure.
Readonly
membersThe manager of members that belong to the group.
Readonly
rawThe raw data of the group.
Whether the group is cached.
Add a member to the group.
group.addMember(member);
The member to add.
Create a channel in the group.
The created channel.
group.createChannel({ name: 'Chat', type: 'chat' });
The payload of the channel.
Fetch the group.
The fetched group.
group.fetch();
Optional
options: FetchOptionsThe options to fetch the group with.
Remove a member from the group.
group.removeMember(member);
The member to remove.
Represents a group on Guilded.
Example