addGroupMembers method

Future<void> addGroupMembers({
  1. required String groupId,
  2. required List<String> members,
  3. String? welcome,
})

Implementation

Future<void> addGroupMembers({
  required String groupId,
  required List<String> members,
  String? welcome,
}) {
  return checkResult(ChatSDKEvent.addGroupMembers, () {
    return Client.getInstance.groupManager.addMembers(
      groupId,
      members,
      welcome: welcome,
    );
  });
}