Group
This class allows access to the details of each group
Method Summary
Public Methods | ||
public |
The unique id that identifies the group |
|
public |
Get the name of a group |
|
public |
Get a list of id of users that belong to the group |
|
public |
Returns the phonebook associated to this group |
|
public |
minusParticipants(participants: ...string): Group Creates a new Group object removing the provided participants |
|
public |
plusParticipants(participants: ...string): Group Creates a new Group object adding the provided participants |
|
public |
Creates a new Group object with the provided parameter changed |
Public Methods
public getParticipants(): ImmutableSet<string> source
Get a list of id of users that belong to the group
public getPhonebook(): ImmutableSet<Object> source
Returns the phonebook associated to this group
Return:
ImmutableSet<Object> |
public minusParticipants(participants: ...string): Group source
Creates a new Group object removing the provided participants
Params:
Name | Type | Attribute | Description |
participants | ...string |