GroupManager
This class allows manager the groups. To obtain an instance of the class @link {Session#getGroupManager} method must be used.
Events
groups
- Emitted every time a group list changes.
Member Summary
Public Members | ||
public |
emitter: EventEmitter |
Method Summary
Public Methods | ||
public |
async createGroup(name: string, participants: string[]): Promise<Group> Creates a new group |
|
public |
async deleteGroup(group: Group): Promise Deletes a group |
|
public |
Allows access to the list of groups |
|
public |
getPhonebook(group: *): Array this method was deprecated.
Obtain phonebooks asociated with a group. |
|
public |
this method is experimental.
Saves a group (Still no WAC support) |
Public Members
public emitter: EventEmitter source
Public Methods
public async createGroup(name: string, participants: string[]): Promise<Group> source
Creates a new group
public async deleteGroup(group: Group): Promise source
Deletes a group
Params:
Name | Type | Attribute | Description |
group | Group | The group to be deleted |