@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace TelegramHandler; |
| 4 | 4 | use Telegram\Bot\Api as TelegramBotApi; |
| 5 | -use Symfony\Component\Yaml\Parser; |
|
| 6 | 5 | |
| 7 | 6 | /** |
| 8 | 7 | * TelegramAdapter |
@@ -28,9 +28,9 @@ |
||
| 28 | 28 | public function sendMessage($message) { |
| 29 | 29 | |
| 30 | 30 | $response = $this->telegram->sendMessage([ |
| 31 | - 'chat_id' => $this->chat_id, |
|
| 32 | - 'text' => $message, |
|
| 33 | - 'parse_mode' => 'HTML' |
|
| 31 | + 'chat_id' => $this->chat_id, |
|
| 32 | + 'text' => $message, |
|
| 33 | + 'parse_mode' => 'HTML' |
|
| 34 | 34 | ]); |
| 35 | 35 | } |
| 36 | 36 | } |