diff --git a/classes/Telegram-Bot/Base.php b/classes/Telegram-Bot/Base.php index 8e7b5a9..8d6fedd 100644 --- a/classes/Telegram-Bot/Base.php +++ b/classes/Telegram-Bot/Base.php @@ -20,7 +20,7 @@ class Base } public function msg($id, $msg) { - return $this->exec('sendMessage', array('chat_id' => $id, 'text' => $msg)); + return $this->exec('sendMessage', array('chat_id' => $id, 'text' => $msg, 'disable_web_page_preview' => 1)); } } diff --git a/plugins/echo.php b/plugins/echo.php index fa02cfb..24f2c00 100644 --- a/plugins/echo.php +++ b/plugins/echo.php @@ -1,5 +1,5 @@ msg($from, $matches[1]); } \ No newline at end of file diff --git a/plugins/help.php b/plugins/help.php index 54829db..ed41660 100644 --- a/plugins/help.php +++ b/plugins/help.php @@ -1,6 +1,6 @@