I am trying to create a Telegram Bot, I enabled inline from BotFather settings but when I type the bot name it won't show anything except Search...
$infoUtente = "<b>Ciao! Io sono $username</b>\n\nIl mio chatId è <code>$chatId</code>\nIl mio nome è $name\nIl mio cognome è $cognome";
$risultati=[[
"type" => "article",
"id" => "0",
"title" => "Titolo del Result",
"input_message_content" => array("message_text" => "Testo del Result", "parse_mode" => "HTML"),
"reply_markup" => array("inline_keyboard" => [[array("text" => "CLICCA QUI","url" => "google.com")],[array("text" => "CLICCA QUI","callback_data" => "StampaMessaggio")]]),
"description" => "Descrizione del result",
],
[
"type" => "article",
"id" => "1",
"title" => "Invia le tue informazioni",
"input_message_content" => array("message_text" => "$infoUtente", "parse_mode" => "HTML"),
"reply_markup" => array("inline_keyboard" => [[array("text" => "CLICCA QUI","url" => "google.com")],[array("text" => "CLICCA QUI","callback_data" => "StampaMessaggio")]]),
"description" => "Descrizione del result",
],
];
$risultati = json_encode($risultati,true);
$url = $GLOBALS[website]."/answerInlineQuery?inline_query_id=$queryId&results=$risultati&cache_time=0&switch_pm_text=Vai al Bot&switch_pm_parameter=123";
file_get_contents($url);
exit();