removeGroupSharedFile method
Removes group shared files.
Param groupId The group ID.
Param fileId The shared file ID to be removed.
Returns None.
Throws Exception description, see ChatError.
Implementation
Future<void> removeGroupSharedFile(
String groupId,
String fileId,
) async {
Map req = {'groupId': groupId, 'fileId': fileId};
Map result = await platform_interface.Client.instance.groupManager
.callNativeMethod(ChatMethodKeys.removeGroupSharedFile, req);
try {
ChatError.hasErrorFromResult(result);
} catch (e) {
rethrow;
}
}