diff --git a/src/Skobkin/Bundle/PointToolsBundle/Service/Telegram/SimpleSender.php b/src/Skobkin/Bundle/PointToolsBundle/Service/Telegram/SimpleSender.php index da62a35..31cfad7 100644 --- a/src/Skobkin/Bundle/PointToolsBundle/Service/Telegram/SimpleSender.php +++ b/src/Skobkin/Bundle/PointToolsBundle/Service/Telegram/SimpleSender.php @@ -35,7 +35,7 @@ class SimpleSender public function sendMessage(int $chatId, string $text): bool { $sendMessage = new SendMessage(); - $sendMessage->chat_id = $chatId; + $sendMessage->chat_id = (string) $chatId; $sendMessage->text = $text; try {