feat: caption backup send

This commit is contained in:
yazhog
2025-09-12 13:52:53 +03:00
parent 929414e31f
commit 10f6ea382b
+6 -1
View File
@@ -584,7 +584,12 @@ class BackupService:
send_kwargs = {
'chat_id': chat_id,
'document': FSInputFile(file_path)
'document': FSInputFile(file_path),
'caption': (
f"📦 <b>Резервная копия</b>\n\n"
f"⏰ <i>{datetime.now().strftime('%d.%m.%Y %H:%M:%S')}</i>"
),
'parse_mode': 'HTML'
}
if settings.BACKUP_SEND_TOPIC_ID: