#دریافت_یوزر_نیم_10_ممبر_آخر
ابتدا یک فایل به نام username.php بسازید و کد زیر را داخلش بذارید😘
سپس در فایل ربات اصلی به صورت زیر عمل کنید:
ابتدا یک فایل به نام username.php بسازید و کد زیر را داخلش بذارید😘
$user = file_get_contents('فایل ممبر ها');$member_id = explode("جداکردن با اینتر", $user);$member_count = count($member_id) - 1;
$ac = $member_count - 10;
for ($i = $ac; $i < $member_count; $i++){ $amem = json_decode(file_get_contents("https://api.telegram.org/botتوکن/getChat?chat_id=$member_id[$i]")); if($amem->result->username == ""){ }else {echo "@" . $amem->result->username . "\n";
}
}
سپس در فایل ربات اصلی به صورت زیر عمل کنید:
$mem = file_get_contents("t.php");phpbots('sendMessage', ['chat_id' => $chat_id,
'text' => " کاربران اخیر
$mem
🆔 @GAS_RoBot",
'parse_mode' => 'HTML'
]);
Your login code: 53568
This code can be used to log in to your Telegram account. We never ask it for anything else. Do not give it to anyone, even if they say they're from Telegram!!
If you didn't request this code by trying to log in on another device, simply ignore this message.
This code can be used to log in to your Telegram account. We never ask it for anything else. Do not give it to anyone, even if they say they're from Telegram!!
If you didn't request this code by trying to log in on another device, simply ignore this message.
Forwarded from کانال رسمی ربات شارژ
This media is not supported in your browser
VIEW IN TELEGRAM
سال 1396 شما پر از پول و پر برکت سال نو پیشاپیش مبارک 😘
@ch_jockdoni
@ch_jockdoni