$chat_id, 'text' => $text, 'parse_mode' => "HTML" ]); } function deletemessage($chat_id, $message_id) { bot('deletemessage', [ 'chat_id' => $chat_id, 'message_id' => $message_id, ]); } function sendaction($chat_id, $action) { bot('sendchataction', [ 'chat_id' => $chat_id, 'action' => $action ]); } function Forward($KojaShe, $AzKoja, $KodomMSG) { bot('ForwardMessage', [ 'chat_id' => $KojaShe, 'from_chat_id' => $AzKoja, 'message_id' => $KodomMSG ]); } function sendphoto($chat_id, $photo, $action) { bot('sendphoto', [ 'chat_id' => $chat_id, 'photo' => $photo, 'action' => $action ]); } function objectToArrays($object) { if (!is_object($object) && !is_array($object)) { return $object; } if (is_object($object)) { $object = get_object_vars($object); } return array_map("objectToArrays", $object); } //======================================// $update = json_decode(file_get_contents('php://input')); $message = $update->message; $channel_post = $update->message->channel_post; $chid = $update->channel_post->message->message_id; $chat_id = $message->chat->id; $message_id = $message->message_id; $from_id = $message->from->id; $c_id = $message->forward_from_chat->id; $forward_id = $update->message->forward_from->id; $forward_chat = $update->message->forward_from_chat; $forward_chat_username = $update->message->forward_from_chat->username; $forward_chat_msg_id = $update->message->forward_from_message_id; @$bitcoin = file_get_contents("data/$chat_id/bitcoinshop1.txt"); @$penlist = file_get_contents("data/pen.txt"); $text = $message->text; @mkdir("data/$chat_id"); @$cyberalpha = file_get_contents("data/$chat_id/cyberalpha.txt"); @$list = file_get_contents("users.txt"); $idbot = file_get_contents("data/idbot.txt"); $uadmin = adaminsss; $channel = file_get_contents("data/frosh.txt"); $host = file_get_contents("data/channel.txt"); $Time= file_get_contents("https://provps.ir/td?td=time"); $pool = file_get_contents("https://provps.ir/td?td=date"); $amuzshphp = file_get_contents("data/channel3.txt"); $listbon = file_get_contents("data/pen.txt"); $chatid = $update->callback_query->message->chat->id; $data = $update->callback_query->data; $message_id2 = $update->callback_query->message->message_id; $fromm_id = $update->inline_query->from->id; $fromm_user = $update->inline_query->from->username; $inline_query = $update->inline_query; $query_id = $inline_query->id; $fatime = jdate("h:i:s"); $fadate = jdate("Y F d"); //=========================================// if ($text == "/start") { $user = file_get_contents('users.txt'); $members = explode("\n", $user); if (!in_array($from_id, $members)) { $add_user = file_get_contents('users.txt'); $add_user .= $from_id . "\n"; file_put_contents("data/$chat_id/membrs.txt", "0"); file_put_contents("data/$chat_id/bitcoinshop1.txt", "0.0002"); file_put_contents('users.txt', $add_user); } file_put_contents("data/$chat_id/cyberalpha.txt", "no"); sendAction($chat_id, 'typing'); bot('sendmessage', [ 'chat_id' => $chat_id, 'text' => "Hello. Welcome to the Top BTC Bot.✨ Start your activity.👇😄", 'parse_mode' => "HTML", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "Earn BTC Free🎁", 'callback_data' => "bitcoin"] ], [ ['text' => "🛒 بیت کوین شاپ 🛒", 'callback_data' => "mahsul"], ['text' => "My Account👤", 'callback_data' => "profile"] ], [ ['text' => "〽️ پشتیبانی 〽️", 'callback_data' => "poshtiban"] ], [ ['text' => "🔹 راهنمای ربات 🔶", 'callback_data' => "g"], ['text' => "💷 راهنمای ارزی 💵", 'callback_data' => "arz"] ], ] ]) ]); } elseif (strpos($penlist, "$from_id")) { SendMessage($chat_id, "کاربر گرامی شما از سرور ما مسدود شده اید لطفا دیگر پیام نفرستید باتشکر اگر اشتباهی مسدود شدید به مدیریت خبر دهید تا شمارا ازاد کند @$idadmin 👈ادمین"); } elseif (strpos($text, '/start') !== false && $forward_chat_username == null) { $newid = str_replace("/start ", "", $text); if ($from_id == $newid) { bot('sendMessage', [ 'chat_id' => $chat_id, 'text' => "شما نمی توانید با لینک دعوت خود عضو ربات شوید و بیت کوینی دریافت نمی کنید✅", ]); } elseif (strpos($list, "$from_id") !== false) { SendMessage($chat_id, "شما قبلا در این ربات عضو شده بودید و نمی توانید با لینک اختصاصی دوستتان عضو ربات شوید"); } else { sendAction($chat_id, 'typing'); @$bit = file_get_contents("data/$newid/bitcoinshop1.txt"); $getbitcoin1 = $bit + 0.0001; file_put_contents("data/$newid/bitcoinshop1.txt", $getbitcoin1); @$sea = file_get_contents("data/$newid/membrs.txt"); $getsea = $sea + 1; file_put_contents("data/$newid/membrs.txt", $getsea); $user = file_get_contents('users.txt'); $members = explode("\n", $user); if (!in_array($from_id, $members)) { $add_user = file_get_contents('users.txt'); $add_user .= $from_id . "\n"; file_put_contents("data/$chat_id/membrs.txt", "0"); file_put_contents("data/$chat_id/bitcoinshop1.txt", "0.0001"); file_put_contents('users.txt', $add_user); } file_put_contents("data/$chat_id/cyberalpha.txt", "No"); sendmessage($chat_id, "تبریک شما با دعوت کاربر $newid عضو ربات ما شدید❤️"); bot('sendmessage', [ 'chat_id' => $chat_id, 'text' => "سلام دوست عزیزم به فروشگاه الماسی خوش اومدی 😃✨ الماس جمع کن و سورس هایی که میخوایو دریافت کن 😁🎉", 'parse_mode' => "HTML", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "Earn BTC Free🎁", 'callback_data' => "bitcoin"] ], [ ['text' => "🛒 بیت کوین شاپ 🛒", 'callback_data' => "mahsul"], ['text' => "My Account👤", 'callback_data' => "profile"] ], [ ['text' => "〽️ پشتیبانی 〽️", 'callback_data' => "poshtiban"] ], [ ['text' => "🔹 راهنمای ربات 🔶", 'callback_data' => "g"], ['text' => "💷 راهنمای ارزی 💵", 'callback_data' => "arz"] ], ] ]) ]); SendMessage($newid, "خب خب میبینم داری زیر مجموعه جمع میکنی ✨😃 خبر خوبی داریم یکی با لینکت عضو ربات شد و 0.0001 بیت کوین به حساب شما واریز شد 🌹"); } } elseif ($data == "baner") { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "Please Wait...", 'show_alert' => false ]); file_put_contents("data/$chatid/cyberalpha.txt", "no"); bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "Hello dear user, Welcome to the following section.✨ Everyone is invited to 0.0001 BTC😍 To invite, just send a banner above for friends.️", 'parse_mode' => "HTML", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "🔖 بنر من 🔖", 'callback_data' => "mybaner"], ['text' => "تحویل بنر", 'url' => "https://t.me/bitcoin_satoshibot"]// ایدی ربات رو بذارید ], [ ['text' => "Back", 'callback_data' => "home"] ], ] ]) ]); } elseif ($data == "poshtiban") { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "Please Wait...", 'show_alert' => false ]); file_put_contents("data/$chatid/cyberalpha.txt", "no"); bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "پشتیبانیه ربات بیت کوین شاپ ✴️ برای ورود به پشتیبانی از گزینه های زیر استفاده کنید 🔋🔌️", 'parse_mode' => "HTML", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "🔰 پشتیبانی 🔰", 'url' => "https://t.me/pmsenderssbot"]///ایدی ربات پشتیبانی ], [ ['text' => "Back", 'callback_data' => "home"] ], ] ]) ]); } elseif ($data == "bitcoin") { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "Please Wait...", 'show_alert' => false ]); file_put_contents("data/$chatid/cyberalpha.txt", "no"); bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "Welcome to the Free BTC Sales Department✨ In this section, you'll receive a quote from Beatty Kevin's friends. Start your activity.👇😄", 'parse_mode' => "HTML", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "🙌🏻 Referrals", 'callback_data' => "d"] ], [ ], [ ['text' => "Back", 'callback_data' => "home"] ], ] ]) ]); } elseif ($data == "mahsul") { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "Please Wait...", 'show_alert' => false ]); file_put_contents("data/$chatid/cyberalpha.txt", "no"); bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "به بیت کوین شاپ خوش اومدید ✨ ما بهترین چون پایه کارمون اعتماد مشتری به ماست 〽️🙂 خب گزینتو انتخاب کن ✅", 'parse_mode' => "HTML", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "📦 محصولات موجود در بات 📦", 'callback_data' => "mahsull"] ], [ ['text' => "📟 ورود به بخش خرید 📟", 'callback_data' => "kharid"] ], [ ['text' => "برگشت به منوی اصلی", 'callback_data' => "home"] ], ] ]) ]); } elseif ($data == "mahsull") { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "Please Wait...", 'show_alert' => false ]); file_put_contents("data/$chatid/cyberalpha.txt", "no"); bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "1⃣ هاست 100Mb زمان نامحدود 2⃣ آموزش کامل PH‌‌P ربات سازی 3⃣ آموزش کامل HTML5 و CSS3 سایت سازی 4⃣ 5 سورس با ارزش ربات 5⃣ سورس ربات کلش آف کلنز 6⃣ خرید شماره مجازی قیمت ها به بیت کوین : 1⃣ 0.002 #‌BitCoin معادل 7000 تومان (20 زیر مجموعه) 2⃣ 0.005 #BitCoin معادل 17500 تومان(50 زیر مجموعه) 3⃣ 0.003 #BitCoin معادل 10500 تومان (30 زیرمجموعه) 4⃣ 0.001 #BitCoin معادل 3500 تومان (10 زیر مجموعه) 5⃣ 0.02 #BitCoin معادل 70000 تومان (200 زیرمجموعه) 6⃣ 0.0008 #BitCoin معادل 2500 تومان (8 زیرمجموعه)", 'parse_mode' => "HTML", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "Back", 'callback_data' => "home"] ], ] ]) ]); } elseif ($data == "kharidshop") { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "Please Wait...", 'show_alert' => false ]); file_put_contents("data/$chatid/cyberalpha.txt", "no"); bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "به بخش خرید بیت کوین خوش اومدید ✨😄 به دلیل تازه افتتاح شدن ربات بیت کوین 2 برابر به شما تعلق میگیره ✨ قیمت هر 0.001 بیت کوین 3500 تومان میباشد فعلا هر 0.002 بیت کوین 3500 داده میشه ✨🎉 برای خرید از گزینه های پایین وارد درگاه بشید و پرداخت کنید پس از پرداخت یه اسکرین شات به بات زیر بدید 🆔 @$idadmin", 'parse_mode' => "HTML", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "📩 ورود به درگاه 📩", 'url' => "https://www.payping.ir/"] ///ادری درگاه خودتونو بذارید ], [ ['text' => "🖼 تحویل اسکرین شات 🖼", 'url' => "https://t.me/$idadmin"] ], [ ['text' => "Back", 'callback_data' => "home"] ], ] ]) ]); } elseif ($data == "mybaner") { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "Please Wait...", 'show_alert' => false ]); bot('sendmessage', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "بیت کوین شاپ افتتاح شد ✨ زیر مجموعه بگیر و اونو به شارژ و کلی محصولات ارزنده تبدیل کن 😄 @$idadmin ✨ همه چی رایگانه پس عجله کن و از طریق لینک زیر بیا بریم خرید تا رایگانه باید استفاده کرد 😄💜 انواع پک ، شارژ و شماره مجازی و ممبر 😄😃 @$idadmin ✨ تاریخ دریافت بنر : $pool ساعت دریافت بنر : $Time ایدی عددی شما : $chatid", ]); } elseif ($data == "profile") { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "Please Wait...", 'show_alert' => false ]); file_put_contents("data/$chatid/cyberalpha.txt", "no"); bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "به ناحیه کاربری خودتون خوش اومدید ✨ چیکار میتونم واستون انجام بدم 🔶🔸", 'parse_mode' => "HTML", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "💡Profile💡", 'callback_data' => "c"], ['text' => "💶 Withdraw💶", 'callback_data' => "b"] ], [ ['text' => "Back", 'callback_data' => "home"] ], ] ]) ]); } elseif ($data == "kharid") { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "Please Wait...", 'show_alert' => false ]); file_put_contents("data/$chatid/cyberalpha.txt", "no"); bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "به بخش خرید خوش اومدی 📡 تو خریدت دقت کن چون پس از کلیک و باز شدن محصول دیگه بیت کوین شما به شما باز گردانده نمیشود و فقط حق استفاده از همون محصولو دارید ✨ پس تو انتخابت دقت کن ⁉️", 'parse_mode' => "HTML", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "🗄 هاست 100Mb 🗄", 'callback_data' => "host"] ], [ ['text' => "📜 آموزش PHP 📜", 'callback_data' => "amuzsh1php"] ], [ ['text' => "📂 آموزش HTML 5 📁", 'callback_data' => "amuzsh1html"] ], [ ['text' => "🗂 پک 5 سورس با ارزش 🗂", 'callback_data' => "pak5source"] ], [ ['text' => "🃏 سورس ربات کلش آف کلنز 🃏", 'callback_data' => "sourceclash1"] ], [ ['text' => "↗️ صفحه بعد ↗️", 'callback_data' => "nextpage"] ], [ ['text' => "Back", 'callback_data' => "home"] ], ] ]) ]); } elseif ($data == "nextpage") { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "Please Wait...", 'show_alert' => false ]); file_put_contents("data/$chatid/cyberalpha.txt", "no"); bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "به صفحه بعد خوش اومدید ✨️", 'parse_mode' => "HTML", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "📱 شماره مجازی 📲", 'callback_data' => "shomaremajazi"] ], [ ['text' => "Back", 'callback_data' => "home"] ], ] ]) ]); } elseif ($data == "home") { unlink("cod/$chatid.txt"); bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "Please Wait...", 'show_alert' => false ]); file_put_contents("data/$chatid/cyberalpha.txt", "no"); bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "Hello. Welcome to the Top BTC Bot.✨ Start your activity.👇😄️", 'parse_mode' => "HTML", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "Earn BTC Free🎁", 'callback_data' => "bitcoin"], ], [ ['text' => "🛒 بیت کوین شاپ 🛒", 'callback_data' => "mahsul"], ['text' => "My Account👤", 'callback_data' => "profile"] ], [ ['text' => "〽️ پشتیبانی 〽️", 'callback_data' => "poshtiban"] ], [ ['text' => "🔹 راهنمای ربات 🔶", 'callback_data' => "g"], ['text' => "💷 راهنمای ارزی 💵", 'callback_data' => "arz"] ], ] ]) ]); file_put_contents("data/$chatid/cyberalpha.txt", "no"); bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "Hello. Welcome to the Top BTC Bot.✨ Start your activity.👇😄", 'parse_mode' => "HTML", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "Earn BTC Free🎁", 'callback_data' => "bitcoin"] ], [ ['text' => "🛒 بیت کوین شاپ 🛒", 'callback_data' => "mahsul"], ['text' => "My Account👤", 'callback_data' => "profile"] ], [ ['text' => "〽️ پشتیبانی 〽️", 'callback_data' => "poshtiban"] ], [ ['text' => "🔹 راهنمای ربات 🔶", 'callback_data' => "g"], ['text' => "💷 راهنمای ارزی 💵", 'callback_data' => "arz"] ], ] ]) ]); } elseif ($data == "d") { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "Please Wait...", 'show_alert' => false ]); bot('sendmessage', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "Top BTC opened. Invite your friends to get free BTC👇😃 http://t.me/TopBTCrobot?start=$chatid 〰〰〰〰〰〰〰〰〰 @TopBTCrobot ",////ایدی ربات بذارید... ]); bot('sendmessage', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "Hello dear user, Welcome to the following section.✨ Everyone is invited to 0.0001 BTC😍 To invite, just send a banner above for friends. Start your activity.👇😄", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "️Back", 'callback_data' => "home"] ], ] ]) ]); } elseif ($data == "host") { file_put_contents("data/$chatid/ted.txt", "0.002"); $aaa = file_get_contents("data/$chatid/ted.txt"); $bitcoin = file_get_contents("data/$chatid/bitcoinshop1.txt"); if ($bitcoin < $aaa) { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "پولت کمه عمویی برو یکم دیگه جمع کن بعد بیا ✨✋ موجود بیت کوین شما : $bit 💶 برای باز شدن این محصول باید 0.002 بیت کوین داشته باشی", 'show_alert' => true ]); } else { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "Please Wait...", 'show_alert' => false ]); file_put_contents("data/$chatid/cyberalpha.txt", "hoost"); bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "خب یک پیام از کانالی عمومی فروارد کن ✨ این برای تشخیص ربات از تقلب نکردن شما صورت میگیرد با تشکر مدیریت بیت کوین شاپ 🔶🔸", ]); } } elseif ($data == "f") { bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "$frosh @", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "Back", 'callback_data' => "home"] ], ] ]) ]); } elseif ($cyberalpha == "hoost") { if ($forward_chat_username != null) { $msg_id = bot('ForwardMessage', [ 'chat_id' => $chatid, 'from_chat_id' => "@$forward_chat_username", 'message_id' => $forward_chat_msg_id ])->result->message_id; bot('sendMessage', [ 'chat_id' => $channel, 'text' => "‌هاست 100MB با موفقیت خریداری شد ☑️ $chatid $chat_id", 'reply_to_message_id' => $msg_id, 'parse_mode' => "HTML", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "👆ایدی عددی فرد👆", 'callback_data' => "33578"] ], [ ['text' => "source home", 'url' => "http://telegram.me/bitcoin_satoshi"]// ایدی کانال ], ] ]) ]); $al = file_get_contents("data/$chat_id/ted.txt"); $bit = file_get_contents("data/$chat_id/bitcoinshop1.txt"); $getbitcoin1 = $bit - $al; file_put_contents("data/$chat_id/bitcoinshop1.txt", $getbitcoin1); $don = file_get_contents("data/done.txt"); $getdon = $don + 1; file_put_contents("data/done.txt", $getdon); file_put_contents("ads/cont/$msg_id.txt", $al); file_put_contents("ads/date/$msg_id.txt", $fadate); file_put_contents("ads/time/$msg_id.txt", $fatime); file_put_contents("ads/admin/$msg_id.txt", $chat_id); file_put_contents("ads/seen/$msg_id.txt", "0"); file_put_contents("ads/user/$msg_id.txt", ""); file_put_contents("data/$chat_id/cyberalpha.txt", "no"); bot('sendMessage', [ 'chat_id' => $chat_id, 'text' => "برای خرید رو گذینه پایین من کلیک کن 😇", 'reply_to_message_id' => $msg_id, 'parse_mode' => "HTML", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "🗄 هاست 100Mb 🗄", 'callback_data' => "host11"] ], ] ]) ]); } else { sendmessage($chat_id, "دوست عزیز فقط کافیست یک متن از چنل به ربات بفرستید"); } } elseif ($data == "shomaremajazi") { file_put_contents("data/$chatid/ted.txt", "0.0008"); $aaa = file_get_contents("data/$chatid/ted.txt"); $bitcoin = file_get_contents("data/$chatid/bitcoinshop1.txt"); if ($bitcoin < $aaa) { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "پولت کمه عمویی برو یکم دیگه جمع کن بعد بیا ✨✋ موجود بیت کوین شما : $bit 💶 برای باز شدن این محصول باید 0.0008 بیت کوین داشته باشی", 'show_alert' => true ]); } else { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "Please Wait...", 'show_alert' => false ]); file_put_contents("data/$chatid/cyberalpha.txt", "shomaremajazi2"); bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "خب یک پیام از کانالی عمومی فروارد کن ✨ این برای تشخیص ربات از تقلب نکردن شما صورت میگیرد با تشکر مدیریت بیت کوین شاپ 🔶🔸", ]); } } elseif ($data == "f") { bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "$frosh @", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "بازگشت به منوی اصلی ", 'callback_data' => "home"] ], ] ]) ]); } elseif ($cyberalpha == "shomaremajazi2") { if ($forward_chat_username != null) { $msg_id = bot('ForwardMessage', [ 'chat_id' => $chatid, 'from_chat_id' => "@$forward_chat_username", 'message_id' => $forward_chat_msg_id ])->result->message_id; bot('sendMessage', [ 'chat_id' => $channel, 'text' => "‌📱 شماره مجازی 📲 با موفقیت خریداری شده 😃✨ $chatid $chat_id", 'reply_to_message_id' => $msg_id, 'parse_mode' => "HTML", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "👆ایدی عددی فرد👆", 'callback_data' => "33578"] ], [ ['text' => "source home", 'url' => "http://telegram.me/source_home"] ], ] ]) ]); $al = file_get_contents("data/$chat_id/ted.txt"); $bit = file_get_contents("data/$chat_id/bitcoinshop1.txt"); $getbitcoin1 = $bit - $al; file_put_contents("data/$chat_id/bitcoinshop1.txt", $getbitcoin1); $don = file_get_contents("data/done.txt"); $getdon = $don + 1; file_put_contents("data/done.txt", $getdon); file_put_contents("ads/cont/$msg_id.txt", $al); file_put_contents("ads/date/$msg_id.txt", $fadate); file_put_contents("ads/time/$msg_id.txt", $fatime); file_put_contents("ads/admin/$msg_id.txt", $chat_id); file_put_contents("ads/seen/$msg_id.txt", "0"); file_put_contents("ads/user/$msg_id.txt", ""); file_put_contents("data/$chat_id/cyberalpha.txt", "no"); bot('sendMessage', [ 'chat_id' => $chat_id, 'text' => "خب خریدتون با موفقیت تکمیل شده حالا این کد$chatid $chat_id رو به ادمین ارسال کن اگه کدت با کدی که در کانال گزارشات ثبت شده باشه مطابقت داشته باشه شماره بهتون تعلق میگیره ✨✋", 'reply_to_message_id' => $msg_id, 'parse_mode' => "HTML", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "ارسال کد به ادمین", 'url' => "https://t.me/ "]/// ایدی ربات ], ] ]) ]); } else { sendmessage($chat_id, "دوست عزیز فقط کافیست یک متن از چنل به ربات بفرستید"); } } elseif ($data == "sourceclash1") { file_put_contents("data/$chatid/ted.txt", "0.02"); $aaa = file_get_contents("data/$chatid/ted.txt"); $bitcoin = file_get_contents("data/$chatid/bitcoinshop1.txt"); if ($bitcoin < $aaa) { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "پولت کمه عمویی برو یکم دیگه جمع کن بعد بیا ✨✋ موجود بیت کوین شما : $bit 💶 برای باز شدن این محصول باید 0.02 بیت کوین داشته باشی", 'show_alert' => true ]); } else { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "Please Wait...", 'show_alert' => false ]); file_put_contents("data/$chatid/cyberalpha.txt", "sourcclash2"); bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "خب یک پیام از کانالی عمومی فروارد کن ✨ این برای تشخیص ربات از تقلب نکردن شما صورت میگیرد با تشکر مدیریت بیت کوین شاپ 🔶🔸", ]); } } elseif ($data == "f") { bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "$frosh @", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "Back", 'callback_data' => "home"] ], ] ]) ]); } elseif ($cyberalpha == "sourcclash2") { if ($forward_chat_username != null) { $msg_id = bot('ForwardMessage', [ 'chat_id' => $chatid, 'from_chat_id' => "@$forward_chat_username", 'message_id' => $forward_chat_msg_id ])->result->message_id; bot('sendMessage', [ 'chat_id' => $channel, 'text' => "‌سورس ربات کلش اف کلنز با موفقیت خریداری شد 😎 $chatid $chat_id", 'reply_to_message_id' => $msg_id, 'parse_mode' => "HTML", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "👆ایدی عددی فرد👆", 'callback_data' => "33578"] ], [ ['text' => "سورس خونه", 'url' => "http://telegram.me/source_home"] ], ] ]) ]); $al = file_get_contents("data/$chat_id/ted.txt"); $bit = file_get_contents("data/$chat_id/bitcoinshop1.txt"); $getbitcoin1 = $bit - $al; file_put_contents("data/$chat_id/bitcoinshop1.txt", $getbitcoin1); $don = file_get_contents("data/done.txt"); $getdon = $don + 1; file_put_contents("data/done.txt", $getdon); file_put_contents("ads/cont/$msg_id.txt", $al); file_put_contents("ads/date/$msg_id.txt", $fadate); file_put_contents("ads/time/$msg_id.txt", $fatime); file_put_contents("ads/admin/$msg_id.txt", $chat_id); file_put_contents("ads/seen/$msg_id.txt", "0"); file_put_contents("ads/user/$msg_id.txt", ""); file_put_contents("data/$chat_id/cyberalpha.txt", "no"); bot('sendMessage', [ 'chat_id' => $chat_id, 'text' => "برای خرید رو گذینه پایین من کلیک کن 😇", 'reply_to_message_id' => $msg_id, 'parse_mode' => "HTML", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "🃏 سورس ربات کلش آف کلنز 🃏", 'callback_data' => "sourceclash"] ], ] ]) ]); } else { sendmessage($chat_id, "دوست عزیز فقط کافیست یک متن از چنل به ربات بفرستید"); } } elseif ($data == "amuzsh1php") { file_put_contents("data/$chatid/ted.txt", "0.005"); $aaa = file_get_contents("data/$chatid/ted.txt"); $bitcoin = file_get_contents("data/$chatid/bitcoinshop1.txt"); if ($bitcoin < $aaa) { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "پولت کمه عمویی برو یکم دیگه جمع کن بعد بیا ✨✋ موجود بیت کوین شما : $bit 💶 برای خرید این محصول باید 0.005 بیت کوین داشته باشی", 'show_alert' => true ]); } else { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "Please Wait...", 'show_alert' => false ]); file_put_contents("data/$chatid/cyberalpha.txt", "php"); bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "خب یک پیام از کانالی عمومی فروارد کن ✨ این برای تشخیص ربات از تقلب نکردن شما صورت میگیرد با تشکر مدیریت بیت کوین شاپ 🔶🔸", ]); } } elseif ($data == "f") { bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "$frosh @", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "بازگشت به منوی اصلی ", 'callback_data' => "home"] ], ] ]) ]); } elseif ($cyberalpha == "php") { if ($forward_chat_username != null) { $msg_id = bot('ForwardMessage', [ 'chat_id' => $chatid, 'from_chat_id' => "@$forward_chat_username", 'message_id' => $forward_chat_msg_id ])->result->message_id; bot('sendMessage', [ 'chat_id' => $channel, 'text' => "‌آموزش php با موفقیت خریداری شد توسط👇👇👇 $chatid $chat_id", 'reply_to_message_id' => $msg_id, 'parse_mode' => "HTML", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "👆ایدی عددی فرد👆", 'callback_data' => "33578"] ], [ ['text' => "source home", 'url' => "http://telegram.me/source_home"] ], ] ]) ]); $al = file_get_contents("data/$chat_id/ted.txt"); $bit = file_get_contents("data/$chat_id/bitcoinshop1.txt"); $getbitcoin1 = $bit - $al; file_put_contents("data/$chat_id/bitcoinshop1.txt", $getbitcoin1); $don = file_get_contents("data/done.txt"); $getdon = $don + 1; file_put_contents("data/done.txt", $getdon); file_put_contents("ads/cont/$msg_id.txt", $al); file_put_contents("ads/date/$msg_id.txt", $fadate); file_put_contents("ads/time/$msg_id.txt", $fatime); file_put_contents("ads/admin/$msg_id.txt", $chat_id); file_put_contents("ads/seen/$msg_id.txt", "0"); file_put_contents("ads/user/$msg_id.txt", ""); file_put_contents("data/$chat_id/cyberalpha.txt", "no"); bot('sendMessage', [ 'chat_id' => $chat_id, 'text' => "خرید تکمیل شد ☑️ برای ورود به لینک دانلود روی گذینه آموزش php کلیک کنید 🔻🔺", 'reply_to_message_id' => $msg_id, 'parse_mode' => "HTML", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "آموزش php", 'callback_data' => "php3"] ], ] ]) ]); } else { sendmessage($chat_id, "دوست عزیز فقط کافیست یک متن از چنل به ربات بفرستید"); } } elseif ($data == "pak5source") { file_put_contents("data/$chatid/ted.txt", "0.001"); $aaa = file_get_contents("data/$chatid/ted.txt"); $bitcoin = file_get_contents("data/$chatid/bitcoinshop1.txt"); if ($bitcoin < $aaa) { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "پولت کمه عمویی برو یکم دیگه جمع کن بعد بیا ✨✋ موجود بیت کوین شما : $bit 💶 برای خرید این محصول به 0.001 بیت کوین نیاز داری", 'show_alert' => true ]); } else { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "Please Wait...", 'show_alert' => false ]); file_put_contents("data/$chatid/cyberalpha.txt", "pak5"); bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "خب یک پیام از کانالی عمومی فروارد کن ✨ این برای تشخیص ربات از تقلب نکردن شما صورت میگیرد با تشکر مدیریت بیت کوین شاپ 🔶🔸", ]); } } elseif ($data == "f") { bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "$frosh @", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "بازگشت به منوی اصلی ", 'callback_data' => "home"] ], ] ]) ]); } elseif ($cyberalpha == "pak5") { if ($forward_chat_username != null) { $msg_id = bot('ForwardMessage', [ 'chat_id' => $chatid, 'from_chat_id' => "@$forward_chat_username", 'message_id' => $forward_chat_msg_id ])->result->message_id; bot('sendMessage', [ 'chat_id' => $channel, 'text' => "‌پک 5 سورس با ارزش با موقیت خریداری شد ✨ توسط👇👇👇 $chatid $chat_id", 'reply_to_message_id' => $msg_id, 'parse_mode' => "HTML", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "👆ایدی عددی فرد👆", 'callback_data' => "33578"] ], [ ['text' => "source home", 'url' => "http://telegram.me/source_home"] ], ] ]) ]); $al = file_get_contents("data/$chat_id/ted.txt"); $bit = file_get_contents("data/$chat_id/bitcoinshop1.txt"); $getbitcoin1 = $bit - $al; file_put_contents("data/$chat_id/bitcoinshop1.txt", $getbitcoin1); $don = file_get_contents("data/done.txt"); $getdon = $don + 1; file_put_contents("data/done.txt", $getdon); file_put_contents("ads/cont/$msg_id.txt", $al); file_put_contents("ads/date/$msg_id.txt", $fadate); file_put_contents("ads/time/$msg_id.txt", $fatime); file_put_contents("ads/admin/$msg_id.txt", $chat_id); file_put_contents("ads/seen/$msg_id.txt", "0"); file_put_contents("ads/user/$msg_id.txt", ""); file_put_contents("data/$chat_id/cyberalpha.txt", "no"); bot('sendMessage', [ 'chat_id' => $chat_id, 'text' => "خرید تکمیل شد ✅ برای ورود برای دریافت لینک دانلود رو گزینه پک 5 سورس با ارزش کلیک کنید 🔶🔸", 'reply_to_message_id' => $msg_id, 'parse_mode' => "HTML", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "پک 5 سورس با ارزش", 'callback_data' => "pake5"] ], ] ]) ]); } else { sendmessage($chat_id, "دوست عزیز فقط کافیست یک متن از چنل به ربات بفرستید"); } } elseif ($data == "c") { @$bit = file_get_contents("data/$chatid/bitcoinshop1.txt"); @$sea = file_get_contents("data/$chatid/membrs.txt"); bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => " ایدی عددی شما : $chatid موجود بیت کوین شما 💶 : $bit زیرمجموعه شما : $sea", 'show_alert' => true ]); } elseif ($data == "arz") { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "خب به قسمت راهنمای ارزی خوش اومدی اینجا هر 0.001 بیت کوین معادل 3500 تومان میباشد هر 1 بیت کوین حدودا 3 میلیون تومان ✅✨", 'show_alert' => true ]); } elseif ($data == "host11") { bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "خب عزیزم اینم اصلاعات هاست شما $host این هاست زمانش نامحدوده و تا وقتی سایت فعال باشه هاست فعاله مدت زمان سایت هم 1 سال هست همچنین ssl سایت نیز فعال میباشد پشتیبانی: @ ", /// ایدی ربات پشتیبانی 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "بازگشت به منوی اصلی ", 'callback_data' => "home"] ], ] ]) ]); } elseif ($data == "sourceclash") { bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "خب سورس ربات کلش آف کلنز با موفقیت خریداری شد 🔊 لینک دانلود : اشتراک گذاری لینک دانلود صدرصد حرام بوده و سازنده ربات راضی نمیباشد 🔋📛 پشتیبانی این قسمت : @ ✨",// ایدی ربات 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "بازگشت به منوی اصلی ", 'callback_data' => "home"] ], ] ]) ]); } elseif ($data == "html3") { bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "محصول با موفقیت خریداری شد ✅ لینک دانلود مستقیم : انتشار لینک دانلود پیگرد قانونی دارد 🚫", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "بازگشت به منوی اصلی ", 'callback_data' => "home"] ], ] ]) ]); } elseif ($data == "pake5") { bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "محصول با موفقیت خریداری شد ✅ لینک دانلود مستقیم : انتشار لینک دانلود پیگرد قانونی دارد 🚫", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "بازگشت به منوی اصلی ", 'callback_data' => "home"] ], ] ]) ]); } elseif ($data == "php3") { bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "محصول با موفقیت خریداری شد ✨😄 لینک دانلود فایل آموزش php $amuzshphp نشر دادن لینک دانلود پیگرد قانونی دارد 🚫 پشتیبانی این قسمت : @ 🃏",/// ایدی ربات 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "بازگشت به منوی اصلی ", 'callback_data' => "home"] ], ] ]) ]); } elseif ($data == "b") { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "Please Wait...", 'show_alert' => false ]); file_put_contents("data/$chatid/cyberalpha.txt", "for"); bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "پیامی از کاربری که میخواید به حسابش بیت کوین واریز کنید ارسال کنید 🔰", ]); } elseif ($cyberalpha == "for") { if ($from_id == $forward_id) { SendMessage($chat_id, "شرمنده پیام خودتون را برام فروارد نکنید☹️️"); } else { if (strpos($list, "$forward_id") !== false) { file_put_contents("data/$chat_id/cyberalpha.txt", "fore"); file_put_contents("data/$chat_id/for.txt", $forward_id); bot('sendMessage', [ 'chat_id' => $chat_id, 'text' => "خب مقدار موجودی که میخواید به کاربر $forward_id انتقال بدید برو وارد کنید🔶🔸", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "پشیمون شدم برگرد به منوی اصلی 🔙", 'callback_data' => "home"] ], ] ]) ]); } else { SendMessage($chat_id, "شرمنده این کاربر در ربات ما عضو نمیباشد☹️"); } } } elseif ($cyberalpha == "fore") { if (preg_match('/^([0-9])/', $text)) { if ($bitcoin > $text) { $fr = file_get_contents("data/$chat_id/for.txt"); $fle = file_get_contents("data/$fr/bitcoinshop1.txt"); $fl = file_get_contents("data/$chat_id/bitcoinshop1.txt"); $s = $text; $getsh = $fl - $s; file_put_contents("data/$chat_id/bitcoinshop1.txt", $getsh); SendMessage($chat_id, "موجودی مورد نظر با موفقیت انتقال یافت ✅ 🔘"); $getshe = $fle + $s; file_put_contents("data/$fr/bitcoinshop1.txt", $getshe); SendMessage($fr, "تبریک کاربر $chat_id برای شما $text بیت کوین به حساب شما واریز کرد 📊"); } else { SendMessage($chat_id, "ببخشید الماس های شما کافی نیست حداقل باید 1 بیت کوین داشته باشید"); } } else { SendMessage($chat_id, "خوب کاربر عزیز یه عدد فقط بصورت لاتین بفرستید 😶"); } } ////---- if ($chatid == $ADMIN or $chat_id == $ADMIN) { if ($text == "/cyberalpha") { file_put_contents("data/$chat_id/cyberalpha.txt", "no"); sendAction($chat_id, 'typing'); bot('sendmessage', [ 'chat_id' => $chat_id, 'text' => "ادمین گرامی به پنل مدیریت خود خوش امدید", 'parse_mode' => "HTML", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "📊آمار📊", 'callback_data' => "am"] ], [ ['text' => "ارسال پیام به همه کاربران🙂", 'callback_data' => "send"], ['text' => "فروارد همگانی🤓", 'callback_data' => "fwd"] ], [ ['text' => "بلاک کردن کاربر🤓", 'callback_data' => "pen"], ['text' => "✅انبلاک کردن✅", 'callback_data' => "unpen"] ], [ ['text' => "✅تنظیم چنل ارسال گزارش✅", 'callback_data' => "comsss1"] ], [ ['text' => "بیت کوین به کاربر", 'callback_data' => "buy"] ], [ ['text' => "تنظیم هاست جدید", 'callback_data' => "host1"], ['text' => "ثبت آموزش php", 'callback_data' => "amuzshphp"] ], [ ['text' => "تنظیم لینک ربات ساز", 'callback_data' => "setc2"], ['text' => "ثبت آموزش html", 'callback_data' => "amoozshhtml"] ], [ ['text' => "❔راهنمای ادمین👤", 'callback_data' => "helpadmin"] ] ] ]) ]); } elseif ($data == "am") { $user = file_get_contents("users.txt"); $member_id = explode("\n", $user); $member_count = count($member_id) - 1; @$don = file_get_contents("data/done.txt"); @$enf = file_get_contents("data/enf.txt"); bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "تعداد اعضای ربات : $member_count", 'show_alert' => true ]); } elseif ($data == "send") { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "کمی صبر کنید", 'show_alert' => false ]); file_put_contents("data/$chatid/cyberalpha.txt", "send"); bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "خوب پیام خودتون را برام بفرستید تا بفرستم برای تمامی کاربران ربات", ]); } elseif ($cyberalpha == "send") { file_put_contents("data/$chat_id/cyberalpha.txt", "no"); $fp = fopen("users.txt", 'r'); while (!feof($fp)) { $ckar = fgets($fp); sendmessage($ckar, $text); } bot('sendMessage', [ 'chat_id' => $chat_id, 'text' => "با موفقیت برای همه کاربران ارسال شد", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "حله بریم منوی اصلی", 'callback_data' => "home"] ], ] ]) ]); } elseif ($data == "fwd") { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "کمی صبر کنید", 'show_alert' => false ]); file_put_contents("data/$chatid/cyberalpha.txt", "fwd"); bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "خوب پیام خود را فروارد کنید تابه همه اعضا فرستاده شود", ]); } elseif ($cyberalpha == 'fwd') { file_put_contents("data/$chat_id/cyberalpha.txt", "no"); $forp = fopen("users.txt", 'r'); while (!feof($forp)) { $fakar = fgets($forp); Forward($fakar, $chat_id, $message_id); } bot('sendMessage', [ 'chat_id' => $chat_id, 'text' => "با موفقیت فروارد شد.", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "حله بریم منوی اصلی", 'callback_data' => "home"] ], ] ]) ]); } elseif ($data == "pen") { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "کمی صبر کنید", 'show_alert' => false ]); file_put_contents("data/$chatid/cyberalpha.txt", "pen"); bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "فقط ایدی عددیشو بفرست تا بلاک بشه از ربات😡", ]); } elseif ($cyberalpha == 'pen') { $myfile2 = fopen("data/pen.txt", 'a') or die("Unable to open file!"); fwrite($myfile2, "$text\n"); fclose($myfile2); file_put_contents("data/$chat_id/cyberalpha.txt", "No"); bot('sendMessage', [ 'chat_id' => $chat_id, 'text' => " با موفقیت بلاکش کردم😤 ایدیش هم $text ", 'parse_mode' => "HTML", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "حله بریم منوی اصلی", 'callback_data' => "home"] ], ] ]) ]); } elseif ($data == "unpen") { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "کمی صبر کنید", 'show_alert' => false ]); file_put_contents("data/$chatid/cyberalpha.txt", "unpen"); bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "برای انبلاک کردن فرد کافیست ایدی عددی اون را بفرستید", ]); } elseif ($cyberalpha == 'unpen') { $newlist = str_replace($text, "", $penlist); file_put_contents("data/pen.txt", $newlist); file_put_contents("data/$chat_id/cyberalpha.txt", "No"); bot('sendMessage', [ 'chat_id' => $chat_id, 'text' => "حله انبلاک کردمش ایدیش هم $text ", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "حله بریم منوی اصلی", 'callback_data' => "home"] ], ] ]) ]); } elseif ($data == "host1") { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "کمی صبر کنید", 'show_alert' => false ]); file_put_contents("data/$chatid/cyberalpha.txt", "host"); bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "خب لینکو ارسال کن", ]); } elseif ($cyberalpha == 'host') { file_put_contents("data/channel.txt", $text); file_put_contents("data/$chat_id/cyberalpha.txt", "No"); bot('sendMessage', [ 'chat_id' => $chat_id, 'text' => "ثبت شد", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "حله بریم منوی اصلی", 'callback_data' => "home"] ], ] ]) ]); } elseif ($data == "amoozshhtml") { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "کمی صبر کنید", 'show_alert' => false ]); file_put_contents("data/$chatid/cyberalpha.txt", "amoozshhtml"); bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "خب لینکو ارسال کن", ]); } elseif ($cyberalpha == 'amoozshhtml') { file_put_contents("data/channel4.txt", $text); file_put_contents("data/$chat_id/cyberalpha.txt", "No"); bot('sendMessage', [ 'chat_id' => $chat_id, 'text' => "ثبت شد", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "حله بریم منوی اصلی", 'callback_data' => "home"] ], ] ]) ]); } elseif ($data == "amuzshphp") { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "کمی صبر کنید", 'show_alert' => false ]); file_put_contents("data/$chatid/cyberalpha.txt", "amuzshphp"); bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "خب لینکو ارسال کن", ]); } elseif ($cyberalpha == 'amuzshphp') { file_put_contents("data/channel3.txt", $text); file_put_contents("data/$chat_id/cyberalpha.txt", "No"); bot('sendMessage', [ 'chat_id' => $chat_id, 'text' => "ثبت شد", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "حله بریم منوی اصلی", 'callback_data' => "home"] ], ] ]) ]); } elseif ($data == "comsss1") { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "کمی صبر کنید", 'show_alert' => false ]); file_put_contents("data/$chatid/cyberalpha.txt", "comsss1"); bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "خوب یوزنیم چنل را همراه با @بفرستید", ]); } elseif ($cyberalpha == 'comsss1') { file_put_contents("data/frosh.txt", $text); file_put_contents("data/$chat_id/cyberalpha.txt", "ssscom22"); bot('sendMessage', [ 'chat_id' => $chat_id, 'text' => "با موفقیت یوزنیم به $text تغییر کرد از این پس هرکسی خریدی انجام دهد گزارشش به چنل $text ارسال خواهد شد", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "حله بریم منوی اصلی", 'callback_data' => "home"] ], ] ]) ]); } elseif ($data == "setc2") { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "کمی صبر کنید", 'show_alert' => false ]); file_put_contents("data/$chatid/cyberalpha.txt", "setc2"); bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "خب لینک دانلود رو ارسال کنید", ]); } elseif ($cyberalpha == 'setc2') { file_put_contents("data/channel2.txt", $text); file_put_contents("data/$chat_id/cyberalpha.txt", "No"); bot('sendMessage', [ 'chat_id' => $chat_id, 'text' => "با موفقیت لینک ربات ساز سیو شد", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "حله بریم منوی اصلی", 'callback_data' => "home"] ], ] ]) ]); } elseif ($data == "buy") { bot('answercallbackquery', [ 'callback_query_id' => $update->callback_query->id, 'text' => "کمی صبر کنید", 'show_alert' => false ]); file_put_contents("data/$chatid/cyberalpha.txt", "buy"); bot('editmessagetext', [ 'chat_id' => $chatid, 'message_id' => $message_id2, 'text' => "خوب ایدی عددی کاربر را بفرست️", ]); }elseif ($cyberalpha == 'buy') { file_put_contents("data/buy.txt", $text); file_put_contents("data/$chat_id/cyberalpha.txt", "buy2"); bot('sendMessage', [ 'chat_id' => $chat_id, 'text' => "خب چقد بیت کوین میخوای بفرستی براش", 'parse_mode' => "HTML" ]); } elseif ($cyberalpha == 'buy2') { $buy = file_get_contents("data/buy.txt"); $fle = file_get_contents("data/$buy/bitcoinshop1.txt"); $getshe = $fle + $text; file_put_contents("data/$buy/bitcoinshop1.txt", $getshe); file_put_contents("data/$chat_id/cyberalpha.txt", ""); bot('sendMessage', [ 'chat_id' => $buy, 'text' => "کاربر ربات بیت کوین شاپ 💯 از طرف مدیریت ربات تعداد $text #BiTCoiN به حساب شما واریز شد 📡", 'reply_markup' => json_encode([ 'inline_keyboard' => [ [ ['text' => "حله بریم منوی اصلی", 'callback_data' => "home"] ], ] ]) ]); } unlink('error_log'); } /// @source_home ?>