Using createGroup method a new group is created. The group can be either of type PUBLIC or PRIVATE, from the enum GroupType in BayunCore. The user creating the group automatically becomes a member of the group, with full authorization for complete group-management functionality for that group. The developer can choose to enforce more fine-grained access controls if desired.
Method parameters :
groupName: Group name(Optional)
groupType: Type of group.
success: Success block to be executed after group is successfully created.
failure: Failure block to be executed if group creation fails, returns BayunError.