Text(); if ($msg=="地址"){ $chat_id = $telegram->ChatID(); $content = array('chat_id' => $chat_id, 'text' => '最新的官网地址是
https://ss5.my110.cf'); $telegram->sendMessage($content); }else{ $chat_id = $telegram->ChatID(); $content = array('chat_id' => $chat_id, 'text' => '你说:'.$msg); $telegram->sendMessage($content); } } }