bot.php
//Send Messages with Markdown (Global)
Send Messages with Markdown (Global)
Send Messages with Markdown ( Global )
function send_MDmessage($chat_id, $message){
       $apiToken =  "1430400495:AAHTAyXNYSU3pQI3C28ZJQOYsh3YzIxjv0E";
        $text = urlencode($message);
        file_get_contents("https://api.telegram.org/bot$apiToken/sendMessage?chat_id=$chat_id&text=$text&parse_mode=Markdown");
    }
function send_MDmessage ( $ chat_id , $ message ) { $ apiToken = " 1430400495:AAHTAyXNYSU3pQI3C28ZJQOYsh3YzIxjv0E " ; $ text = urlencode ( $ message ) ; file_get_contents ( " https://api.telegram.org/bot $ apiToken /sendMessage?chat_id= $ chat_id &text= $ text &parse_mode=Markdown " ) ; }
Send Messages with Markdown (Global)
Send Messages with Markdown ( Global )