From 20ec7d524ba6bdd07ddba1db8cb2c0263d8115df Mon Sep 17 00:00:00 2001 From: mahdi Date: Wed, 26 Jun 2024 22:25:39 +0330 Subject: [PATCH] new version --- index.php | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index 2f436ab..53e5ff5 100644 --- a/index.php +++ b/index.php @@ -1,6 +1,6 @@ [ + [ + ['text' => "ارسال پیام به کاربر", 'callback_data' => 'Response_' . $from_id], + ] + ] + ]); + $newuser = " + 🎉یک کاربر جدید ربات را استارت کرد +نام : $first_name +نام کاربری : @$username +آیدی عددی : $from_id"; + foreach ($admin_ids as $admin) { + sendmessage($admin, $newuser, $Response, 'html'); + } +} + if ($from_id != "0") { $stmt = $pdo->prepare("INSERT IGNORE INTO user (id, step, limit_usertest, User_Status, number, Balance, pagenumber, username, message_count, last_message_time, affiliatescount, affiliates) VALUES (:from_id, 'none', :limit_usertest_all, 'Active', 'none', '0', '1', :username, '0', '0', '0', '0')"); $stmt->bindParam(':from_id', $from_id);