diff --git a/config/nutgram.php b/config/nutgram.php index 75550a7..601ef12 100644 --- a/config/nutgram.php +++ b/config/nutgram.php @@ -14,6 +14,9 @@ return [ '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