Browse Source

telegram: fix api

Tokumeikoi 4 years ago
parent
commit
b706b8b3a1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Services/TelegramService.php

+ 1 - 1
app/Services/TelegramService.php

@@ -8,7 +8,7 @@ class TelegramService {
 
     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 = '')