env('TELEGRAM_BOT_TOKEN', env('TELEGRAM_TOKEN')), // Nutgram LaravelWebhook secret check (md5(APP_KEY) when true via package default). // Keep false — TelegramWebhookController validates TELEGRAM_WEBHOOK_SECRET instead. // Production + true + no matching secret_token = updates silently dropped (no reply). 'safe_mode' => (bool) env('NUTGRAM_SAFE_MODE', false), // Extra or specific configurations 'config' => [ // Baota PHP curl is often built without nghttp2; Guzzle HTTP/2 then fatals. 'enable_http2' => (bool) env('NUTGRAM_ENABLE_HTTP2', false), // Match TelegramNotifier sendMessage (15s). Default 5s dies when // api.telegram.org TLS/IPv6 is slow; getChatMember then looks like "not admin". 'timeout' => (int) env('NUTGRAM_TIMEOUT', 15), ], // 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'), ];