7.1 Create Group
[[BayunCore sharedInstance] createGroup:@"groupName" groupType:GroupTypePublic success:^{
NSLog(@"Group created successfully.");
} failure:^(BayunErrorbayunError) {
NSLog(@"Error creating group.");
}];BayunCore.sharedInstance().createGroup("groupName", groupType: .public, success: {
NSLog("Group created successfully.")
}, failure: { (bayunErrorCode) in
NSLog("Error creating group.")
})Last updated