createGroup method
Implementation
Future<Group> createGroup({
required String groupName,
String? desc,
List<String>? inviteMembers,
String? inviteReason,
required GroupOptions options,
}) {
return checkResult(ChatSDKEvent.createGroup, () async {
Group group = await Client.getInstance.groupManager.createGroup(
groupName: groupName,
desc: desc,
inviteMembers: inviteMembers,
inviteReason: inviteReason,
options: options,
);
onGroupCreatedByMyself(group);
return group;
});
}