$botid=bot('getMe',['bot'])->result->id;
$finecoders = $message->new_chat_member;
$newid = $message->new_chat_member->id;
if($finecoders){
if($newid==$botid){
$fine= bot('getChat',['chat_id'=>$cid]);
$title=$fine->result->title;
$gr=$fine->result->username;
$person=bot('getChat',['chat_id'=>$uid])->result->first_name;
$count=bot('getChatMembersCount',[ 'chat_id'=>$cid])->result;
bot('SendMessage',[
'chat_id'=>$admin,//ADMIN
'parse_mode'=>html,
'text'=>"📊
Botni guruhga qo'shishdi.
🆔 ID: $cid
✅ Guruh nomi: $title
🌐 Guruh: @$gr
👥 Qo'shdi: $person
📋 A'zolar: $count ta",
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[['text'=>"$title",'url'=>"https://t.me/$gr"]],
]]),
]);
}}
🔥 #function #php #group #add
🤖 Kimdur botni ommaviy guruhga qo'shsa adminga xabar boradigan funksiya. Reaksiya bosing. Manba bilan oling👉🏻Telegram👈🏻 |
Admin👮🏻♀️|
Kod baza🔒|
🔴You Tube🔴
Biz hech kimga o`xshamaymiz xamma bizga o`xshaydi📥
Xoxishingizga qarab reaksiya‼️