function sendMessage($id,$text)
{
global $api;
$keyboard = [['/help','/add','/list','/mail']] ;
$resp = ["keyboard" => $keyboard,"resize_keyboard" => true,"one_time_keyboard" => false];
$reply = json_encode($resp);
$query = $api. '/sendMessage?chat_id='. $id .'&reply_markup='.$reply.'&text='.urlencode($text);
file_get_contents($query);
}