This commit is contained in:
hashbro
2026-08-07 05:21:44 +08:00
parent 5145b6f719
commit 78b61f85d2
325 changed files with 9874 additions and 1738 deletions
+26
View File
@@ -0,0 +1,26 @@
<?php
return [
// Prefer TELEGRAM_BOT_TOKEN (shared with Coruna notifier); TELEGRAM_TOKEN as fallback.
'token' => env('TELEGRAM_BOT_TOKEN', env('TELEGRAM_TOKEN')),
// if the webhook mode must validate the incoming IP range is from a telegram server
'safe_mode' => env('APP_ENV', 'local') === 'production',
// Extra or specific configurations
'config' => [],
// Set if the service provider should automatically load
// handlers from /routes/telegram.php
'routes' => true,
// Enable or disable Nutgram mixins
'mixins' => false,
// Path to save files generated by nutgram:make command
'namespace' => app_path('Telegram'),
// Set log channel
'log_channel' => env('TELEGRAM_LOG_CHANNEL', 'null'),
];