Files
umbrix/lib/core/telegram_config.dart
2026-01-15 12:28:40 +03:00

21 lines
822 B
Dart
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/// ⚠️ НЕ КОММИТЬТЕ ЭТОТ ФАЙЛ В GIT!
/// Замените значения ниже на реальные данные вашего Telegram бота
///
/// Инструкция по настройке: см. TELEGRAM_SETUP.md
library;
class TelegramConfig {
/// Токен вашего Telegram бота от @BotFather
/// Пример: '1234567890:ABCdefGHIjklMNOpqrsTUVwxyz123456789'
static const String botToken = 'YOUR_BOT_TOKEN_HERE';
/// Chat ID группы/канала куда отправлять логи
/// Пример: '-1001234567890'
static const String chatId = 'YOUR_CHAT_ID_HERE';
/// Проверка что конфиг настроен
static bool get isConfigured {
return botToken != 'YOUR_BOT_TOKEN_HERE' && chatId != 'YOUR_CHAT_ID_HERE';
}
}