[ Version ( since = "0.15.5" ) ]
public async bool rename_group_async (string old_name, string new_name) throws Error
Rename the given old_name
.
On protocols where groups behave like tags, this is an API short-cut for adding all of the group's members to a group with the new name, then removing the old group.
For this to work properly this must have interface IFACE_CONNECTION_INTERFACE_CONTACT_GROUPS.
this | |
old_name |
the group to rename |
new_name |
the new name for the group |
callback |
a callback to call when the operation finishes |
user_data |
data to pass to |