Jelajahi Sumber

telegram: fix api

Tokumeikoi 4 tahun lalu
induk
melakukan
b706b8b3a1
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      app/Services/TelegramService.php

+ 1 - 1
app/Services/TelegramService.php

@@ -8,7 +8,7 @@ class TelegramService {
 
 
     public function __construct($token = '')
     public function __construct($token = '')
     {
     {
-        $this->api = 'http://dev.v2board.com/bot' . config('v2board.telegram_bot_token', $token) . '/';
+        $this->api = 'https://api.telegram.org/bot' . config('v2board.telegram_bot_token', $token) . '/';
     }
     }
 
 
     public function sendMessage(int $chatId, string $text, string $parseMode = '')
     public function sendMessage(int $chatId, string $text, string $parseMode = '')