public function telegrambot_sendReply($chatID, $reply) { global $conf; $header = array(); $url = "https://api.telegram.org/bot" . $conf["botkey"] . "/sendmessage?chat_id=" . $chatID . "&text=" . $reply; $updates = i::url_get($url, $conf["cookie_jar_file"], "r", $header, $conf["proxy"], $conf["proxyauth"]); //i::vd($updates); return $updates; }