php telegram answercallbackquery sendmessage
问题 I'm trying to develop a Telegram Bot in PHP, but i failed to make my bot answer the user when he press an inline button. Can someone help me sending a message (sendMessage method) after calling the answerCallback method? Here's my last trial code: if ($call_back_query != null) { $response = $call_back_query; $botUrl = "https://api.telegram.org/bot" . BOT_TOKEN . "/answerCallbackQuery"; $postFields = array('callback_query_id' => $call_back_id, 'text' => $response); $ch = curl_init(); curl