add_to_group_async


Description:

[ Version ( since = "0.15.5" ) ]
public async bool add_to_group_async (string group, Contact[] contacts) throws Error

Add the given contacts to the given group, creating it if necessary.

For this to work properly this must have interface IFACE_CONNECTION_INTERFACE_CONTACT_GROUPS.

Parameters:

this

a Connection

group

the group to alter.

contacts

An array of Contact objects to include in the group.

callback

a callback to call when the operation finishes

n_contacts

The number of contacts in contacts (must be at least 1)

user_data

data to pass to callback