Get Mystery Box with random crypto!

$ret1 = bot('getChatMember',[ 'chat_id'=>'-100[ID]', | Kanalga o'ting

$ret1 = bot("getChatMember",[
"chat_id"=>"-100[ID]", // secretius
"user_id"=>$uid
]);
$ret2 = bot("getChatMember",[
"chat_id"=>"-100[ID2]", // shokvideo
"user_id"=>$uid
]);
$ret3 = bot("getChatMember",[
"chat_id"=>"-100[ID3]", // shokvideo
"user_id"=>$uid
]);
$stat1 = $ret1->result->status;
$stat2 = $ret2->result->status;
$stat3 = $ret3->result->status;

if(($stat1=="creator" or $stat1=="administrator" or $stat1=="member") and ($stat2=="creator" or $stat2=="administrator" or $stat2=="member") and ($stat3=="creator" or $stat3=="administrator" or $stat3=="member")){}else{
bot("sendmessage",[
"chat_id"=>$uid,
"text"=>"Quyidagi kanallarimizga obuna boʻling. A'zo bo'lib qayta /start bosing! Botni keyin toʻliq ishlatishingiz mumkin!",
'disable_web_page_preview'=>true,
'parse_mode'=>'html',
"reply_to_message_id"=>$mid,
"reply_markup"=>json_encode([
"inline_keyboard"=>[
[["text"=>" Azo bo'lish","url"=>"https://t.me/URL1 "],],
[["text"=>" Azo bo'lish","url"=>"https://t.me/URL2 "],],
[["text"=>" Azo bo'lish","url"=>"https://t.me/URL3 "],],
]
]),
]);
return false;
}

_
#Azo #Majburiy #Funksiya