I got problem with Telegram Keyboard , I want to send a string in my array for markup that has a "#" but with "#" it dosent work and I visited a bot that same mine and that's works good and shows '#' in Keyboard Button
how can I fix this??
$string = "#number 1";//This #
$markup[] = [
["text" => $string ]
];
$keyboard = [
"keyboard" => $markup,
"resize_keyboard" => true
];
return $r = file_get_contents("https://api.telegram.org/bot" . TOKEN . "/sendMessage?chat_id="
. $chat_id . "&text=" . urlencode("MENU") . "&reply_markup=" . json_encode($keyboard));