createGroup() method. This method takes a Group object as input.
The groupType needs to be either of the below 3 values:
1.CometChatGroupType.public (public)
2.CometChatGroupType.password (password)
3.CometChatGroupType.private (private)
- Dart
createGroup() method takes the following parameters:
After the successful creation of the group, you will receive an instance of
Group class which contains all the information about the particular group.