set_group_members_async
Description:
[ Version ( since = "0.15.5" ) ]
public async bool set_group_members_async (string group, Contact[] contacts) throws Error
public async bool set_group_members_async (string group, Contact[] contacts) throws Error
Add the given contacts to the given group (creating it if necessary), and remove all other members.
For this to work properly this must have interface IFACE_CONNECTION_INTERFACE_CONTACT_GROUPS.
Parameters:
| this | |
| group |
the group to alter. |
| contacts |
An array of Contact objects members for the group. If this set is empty, this method MAY remove the group. |
| callback |
a callback to call when the operation finishes |
| n_contacts |
The number of contacts in |
| user_data |
data to pass to |