mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
telegram: fix api
This commit is contained in:
parent
b984b8dd98
commit
b706b8b3a1
@ -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 = '')
|
||||||
|
Loading…
Reference in New Issue
Block a user