27 lines
763 B
PHP
27 lines
763 B
PHP
<?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'),
|
|
];
|