- TeAm SaiKo .
رفتن به کانال در Telegram
Welcome, dear, to my channel. The channel is dedicated to publishing all kinds of files in php and all kinds of bots ⚠️
نمایش بیشتر417
مشترکین
اطلاعاتی وجود ندارد24 ساعت
-37 روز
-1130 روز
آرشیو پست ها
وهاي ببايثون
`client.send_message(
text="حولها اذا بيك خير",
protect_content=True)`
if($text == "/start"){
bot('sendmessage',[
'chat_id'=>$chat_id,
'text'=>"حولها اذا بيك خير",
'protect_content'=>true]);
}
تفعيل حماية المحتوى للبوتات ✔️if($text=="/start"){
bot("sendMessage",[
"chat_id"=>$chat_id,
"text"=>"Hi",
"reply_markup"=>json_encode([
"force_reply"=>true])
]);
}
كود يسوي رد تلقائي لرساله البوت 🆕
@S5llll 👤
if($text=="/start"){
bot('sendMessage',[
'chat_id'=>$chat_id,
'text'=>"Hi",
'reply_markup'=>json_encode([
'force_reply'=>true])
]);
}
كود يسوي رد تلقائي لرساله البوت 🆕
@S5llll 👤
function c($one, $two, $required) {
if ($required == "+") { return $one + $two; } elseif ($required == "-") { return $one - $two; } elseif ($required == "*") { return $one * $two; } elseif ($required == "/") { return $one / $two; } elseif ($required == "÷") { return $one / $two; } else { return "حدث خطا";}
}
#How to use:
echo c(1,5, "+");
#The result:
6
- @S5llll 👤if($update->chat_member->old_chat_member->status == "administrator"){
bot('sendmessage',[
'chat_id'=>$update->chat_member->chat->id,
"text"=>"غادر ادمن في القناه : \n اسمه: ".$update->chat_member->old_chat_member->user->first_name,
]);
}
وهاي اذا ادمن غادر القناه 🐰
- @S5llll 🐰
