//получить сенд файл
    $send_content = file_get_contents("modules/templates/admin/sendMsg.txt");
    if (strlen($send_content) > 0){
        $send_action = explode(" ",$send_content);
        if (isset($send_action[1])) {
            file_put_contents("modules/templates/admin/sendMsg.txt", "");
            if($send_action[0] == "send_one"){
                $this->DelMessageText(ADMIN_CHAT_ID, $send_action[2]);
                $user = R::findOne("users", "id = '{$send_action[1]}'");
                file_put_contents("modules/templates/admin/sendMsgTempl.txt",$text);
                $template = new Template("admin/sendMsgTempl");
                $template = $template->Load();
                $template->LoadButtons();
                $this->sendMessage($user["chat_id"], $template->text, $template->buttons);
                $this->DelMessageText(ADMIN_CHAT_ID, $message_id);
                $this->sendMessage(ADMIN_CHAT_ID, "Сообщение отправлено");
                return;
            } elseif ($send_action[0] == "send_all"){
                $this->DelMessageText(ADMIN_CHAT_ID, $send_action[1]);
                $users = R::findAll("users");
                $this->DelMessageText(ADMIN_CHAT_ID, $message_id);
                file_put_contents("modules/templates/admin/sendMsgTemplAll.txt",$text);
                $template = new Template("admin/sendMsgTemplAll");
                $template = $template->Load();
                $template->LoadButtons();
                foreach ($users as $user) {
                    $this->sendMessage($user["chat_id"], $template->text, $template->buttons);
                }
                $this->sendMessage(ADMIN_CHAT_ID, "Сообщение отправлено всем пользоваетлям");
                return;
            }
            
        }
    }
    switch ($command[0]) {
        case "/reply":
            file_put_contents("modules/templates/admin/user_voice_reply.txt", "$command[1] $message_id");
            $this->sendMessage(ADMIN_CHAT_ID, "Для ответа запишите голосове сообщение");
            return;

        case "/send_voice":
            $this->DelMessageText(ADMIN_CHAT_ID, $message_id);

            $file_id = file_get_contents("modules/templates/admin/file_id.txt");
            $reply_to = file_get_contents("modules/templates/admin/user_voice_reply.txt");
            $full = explode(" ", $reply_to);
            $this->sendVoice($full[0], $file_id);
            $this->sendMessage(ADMIN_CHAT_ID, "Сообщение отправлено");
            $this->DelMessageText(ADMIN_CHAT_ID, $full[1]);
            return;
        case "/1":
            $this->DelMessageText(ADMIN_CHAT_ID, $message_id);
            $statuses = R::findAll( 'refbuffer' , ' ORDER BY id ASC ' );
            $stats = array();
            foreach($statuses as $status){
                array_push($stats, $status["buffer"]);
            }
            $template = new Template("admin/status_stat", [
                new TemplateData(":red", $stats[0]),
                new TemplateData(":orange", $stats[1]),
                new TemplateData(":yellow",$stats[2]),
                new TemplateData(":green", $stats[3]),
                new TemplateData(":blue", $stats[4]),
                new TemplateData(":darkblue", $stats[5]),
                new TemplateData(":purple", $stats[6])
            ]);
            $template = $template->Load();
            $this->sendMessage(ADMIN_CHAT_ID, $template->text);
            return;
        case "/aphrodite_morning_process_purchase_success":
            $this->DelMessageText(ADMIN_CHAT_ID, $message_id);

            $orderId = (int)$command[1];
            //$username = $command[3];

            $aphroditeMorning = R::findOne("aphroditemorning", "id = $orderId");
            if ($aphroditeMorning) {
                $aphroditeMorning["status"] = 2;

                R::store($aphroditeMorning);

                $aphroditeMorningUser = R::findOne("users", "id = {$aphroditeMorning["user_id"]}");
                $aphroditeMorningUser["action"] = "";
                R::store($aphroditeMorningUser);

                $this->DelMessageText($aphroditeMorningUser["chat_id"], $command[2]);

                $templateUser = new Template("aphrodite_morning/order_payment_success");
                $templateUser = $templateUser->Load();

                $this->sendMessage($aphroditeMorningUser["chat_id"], $templateUser->text);

                //Создать файл с номерам заказа
                file_put_contents("modules/templates/admin/cur_order.txt", "aphr $orderId");

                $templateAdmin = new Template("admin/aphrodite_morning/process_purchase_success", [
                    new TemplateData(":aphroditeMorningId", $aphroditeMorning["id"]),
                    new TemplateData(":username", $aphroditeMorningUser["username"]),
                    //new TemplateData(":username", $username)

                ]);
                $templateAdmin = $templateAdmin->Load();
                $this->sendPhoto(ADMIN_CHAT_ID,"https://katyasatorinebot.online/bot/{$aphroditeMorning["check_photo"]}", $templateAdmin->text);
                //$response = $this->sendMessage(ADMIN_CHAT_ID,$templateAdmin->text);
            }

            return;

привет, мне нужно, чтобы админ видел информацию и пользователе (айди и ник, если есть). Это телеграм-бот на php. Если кода недостаточно, то могу скинуть еще, это неполная версия