$v) { $r = $bot->send($v, "start $ip"); $bot->input['chat'] = $v; $bot->input['message_id'] = $r['result']['message_id']; if (file_exists($bot->update)) { if (!empty($m)) { $bot->send($v, "
$m", $v == $rm[0] ? $rm[1] : 0); } $r = $bot->send($v, "import settings"); $bot->input['chat'] = $v; $bot->input['message_id'] = $r['result']['message_id']; $bot->input['callback_id'] = $r['result']['message_id']; if (empty($flag)) { $bot->importFile($bot->update); unlink($bot->update); $flag = true; } } } } file_put_contents('/update/message', ''); file_put_contents('/update/reload_message', ''); $bot->restartTG(); $bot->sslip(); $bot->cleanDocker();