createGroupChat method

Future<RxChat> createGroupChat(
  1. List<UserId> memberIds, {
  2. ChatName? name,
})

Creates a group Chat with the provided members and the authenticated MyUser, optionally named.

Implementation

Future<RxChat> createGroupChat(
  List<UserId> memberIds, {
  ChatName? name,
}) async {
  Log.debug('createGroupChat($memberIds, $name)', '$runtimeType');
  return await _chatRepository.createGroupChat(memberIds, name: name);
}