diff --git a/src/TelegramHandler.php b/src/TelegramHandler.php index a538afc..198deac 100644 --- a/src/TelegramHandler.php +++ b/src/TelegramHandler.php @@ -126,7 +126,7 @@ private function sendMessage(string $text): void 'chat_id' => $this->chatId, 'parse_mode' => 'html', ], - config('telegram-logger.template', []) + config('telegram-logger.options', []) )); file_get_contents('https://api.telegram.org/bot'.$this->botToken.'/sendMessage?' . $httpQuery);