diff --git a/src/Telegram.php b/src/Telegram.php index b76a8f8..35aaadc 100644 --- a/src/Telegram.php +++ b/src/Telegram.php @@ -159,7 +159,7 @@ class Telegram */ private bool $enableEvents = false; - public function __construct(string $token, ?TelegramHttpClientInterface $client = null) + public function __construct(string $token, ?ClientInterface $client = null) { $this->token = $token; $this->apiClient = $client ?? new Client();