iOS
updateGroup()
let GUID = "GUID"; let groupName = "Hello Group!"; let groupType: CometChat.groupType = .public; let groupTobeUpdated = Group(guid: GUID, name: groupName, groupType: groupType, password: nil) CometChat.updateGroup(group: groupTobeUpdated, onSuccess: { (group) in print("Groups details updated successfully. " + group.stringValue()) }) { (error) in print("Group details update failed with error: " + error!.errorDescription); }
Group
Was this page helpful?