My code in qa-notify-event.php
$botToken = "!!BOT-TOKEN!!!";
$chat_id = "@ruyadaruya";
$message = qa_q_path($params['postid'], $params['title'], true);
$bot_url = "https://api.telegram.org/bot$botToken/";
$url = $bot_url."sendMessage?chat_id=".$chat_id."&text=".urlencode($message);
file_get_contents($url);