updateGroup function
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,
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,
);
}