Files
IKAR/lib/frontend/commands/send_zip_as_image_command.dart
T

11 lines
286 B
Dart

import 'probe_send.dart';
import 'slash_command.dart';
Future<void> runSendZipAsImage(CommandContext ctx) async {
try {
await sendFileAsPhoto(ctx, await buildProbeZipFile(extension: 'zip'));
} catch (e) {
ctx.notify('Не удалось отправить zip: $e');
}
}