updateGroup function

Future<GroupDTO?> updateGroup({
  1. required String chatId,
  2. String? account,
  3. Signer? signer,
  4. required String groupName,
  5. required String groupDescription,
  6. String? groupImage,
  7. required List<String> members,
  8. required List<String> admins,
  9. required bool isPublic,
  10. String? pgpPrivateKey,
  11. String? meta,
  12. DateTime? scheduleAt,
  13. DateTime? scheduleEnd,
  14. ChatStatus? status,
  15. Map<String, dynamic>? rules,
})

Implementation

Future<GroupDTO?> updateGroup({
  required String chatId,
  String? account,
  Signer? signer,
  required String groupName,
  required String groupDescription,
  String? groupImage,
  required List<String> members,
  required List<String> admins,
  required bool isPublic,
  String? pgpPrivateKey,
  String? meta,
  DateTime? scheduleAt,
  DateTime? scheduleEnd,
  ChatStatus? status,
  Map<String, dynamic>? rules,
}) async {
  return updateGroupCore(
    chatId: chatId,
    groupName: groupName,
    groupDescription: groupDescription,
    members: members,
    admins: admins,
    isPublic: isPublic,
    account: account,
    groupImage: groupImage,
    meta: meta,
    pgpPrivateKey: pgpPrivateKey,
    rules: rules,
    scheduleAt: scheduleAt,
    scheduleEnd: scheduleEnd,
    signer: signer,
    status: status,
  );
}