telegram: fix api

This commit is contained in:
Tokumeikoi 2020-07-05 19:24:25 +08:00
parent b984b8dd98
commit b706b8b3a1

View File

@ -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 = '')