Closed guangrei closed 6 years ago
Hi, i got error message above when use HTML as parse_mode
HTML
parse_mode
here is my code :
$test = "one \n two \n tri"; $content = array('chat_id' => $chat_id, 'text' => nl2br($test), 'parse_mode' => "HTML"); $telegram->sendMessage($content);
Telegram Bot API currently supports only <b>, <i>, <a>,<code> and <pre> tags, for HTML parse mode
thx solved nl2br($test, false)
Hi, i got error message above when use
HTML
asparse_mode
here is my code :