ADVANCE BOT CODERS
1.56K subscribers
54 photos
2 videos
26 files
78 links
Hello Guys Welcome To Our channel Here You Will Get All type bot Codes.

๐Ÿšถโ€โ™‚๏ธ Road To 10000 Subscribers

โœ”๏ธ CONTACT ME : @Armanidrisi_bot

๐Ÿฑ GITHUB : https://github.com/Armanidrisi
Download Telegram
Message to User Bjs๐Ÿ™‚

โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–


๐ŸŒ Command - Message

โš ๏ธ Wait For Answer On ๐Ÿ†—

๐Ÿ—ฃ๏ธ In Answer - _Send His Telegram Id_

๐Ÿ”ฐ Bjs โคต๏ธ

var admin = Your Id
Bot.getProperty("admin"+user.telegramid)
if(user.telegramid == Your Id){
User.setProperty("MsgId",message, "string")
Bot.runCommand("Msg_2")
}else{
Bot.sendMessage("You Are Not An Admin")
}


โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–

๐ŸŒ Command - Msg_2

โš ๏ธ Wait For Answer On ๐Ÿ†—

๐Ÿ—ฃ๏ธ In Answer - *๐ŸŽญ Send Massage*

๐Ÿ”ฐ Bjs โคต๏ธ

var admin = Your Id
Bot.getProperty("admin"+user.telegramid)
if(user.telegramid == Your Id){
var tg =
User.getProperty("MsgId")
Bot.sendMessage("*Message:* "+message+"*\n Has been sent*")
Bot.sendMessageToChatWithId(tg, "*Admin Has Messaged You\n=======================*\n\n_"+message+"_")
}else{
Bot.sendMessage("You Are Not An Admin")
}
Command - ๐Ÿค˜ Send Photo

๐Ÿ‘‰Answer - *Send The Photo Which You Want To Sent To Admin*

Wait For Answer Onโœ…

Bjs - var buton = [[{text:"Reply Him",callback_data:"Reply"+" "+user.telegramid+" "}]]
Api.sendPhoto({ chat_id: your chat id, photo: request.photo[0].file_id,
caption: "*New Photo From User\n๐Ÿง‘๐Ÿปโ€๐Ÿ’ป User = "+user.first_name+"\n๐Ÿ”ฎ His Telegram Id : "+user.telegramid +"\n๐Ÿ“ฎ His Username : @"+user.username+"\n\nMESSAGE:- "+request.caption+"*",
parse_mode:"Markdown",
reply_markup :{inline_keyboard: buton}
})
Bot.sendMessage("๐Ÿ“Œ Photo Sended To ADMIN")


โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–

Photo To Admin BJ's.๐Ÿ˜ƒ
๐Ÿ‘3๐Ÿ˜ฑ1
List of All Bot Codes [Bjs for Bots.business]

1. Paytm Autopay Bot : click
2. Logo Bjs: click ||
3. Youtube video Downloader: click
4.User Detail Bjs: click
5. Join Channel List: click
6. Clone bot : click
7. Games Bjs: click here
8. Weather deta Bjs : click
8.Image Captcha Verification: click
9. Emoji Captcha: click | end
10. Carbon Image Maker: click
11. Graph status: click | second
12. Accept Payment bot codes: click
13. Amazon Product Finder: click
14. Yt Thumbnail Downloader Bjs: click
15. Tomo Autopay : click
16. Paytm mannual pay; click
17. Rate in Bot Bjs: click
18. IMGBB Image Uplaoder Bot codes: click here
19. Chat With User: click
20. Seller bot: click
21. Logo Mannual Pay : click
22. Bit.ly url shortner: click
23. Seller bot paytm deposit bjs: click
24. Dart Game Bjs: click
25. Transfer Balance Bjs: click
26. Radeem Code Bjs: click
27. Lifafa In Bot: click
28. QR Code Maker: click
29. 1 Day 1 Withdraw: click
30. Login/Register In Bot : click
31. Inline keyboard Bjs: click
32. Qr Code scanner: click
33. Deposit from Paytm qr : click
34. Anime Logo Maker bjs: click
35. 10+ logo api: click |
36. How to make logo api: click
37. Url Shorter php: click
38 simple Lifafa Panel php: click
39. Aff php || advanced Lifafa php
40. Php logo bot: click
41. New logo api: click || more
42. Logo plp: start || end
43. Task Bjs: click
44. Daily Bonus Bjs: click
45. New User Notification: click
46. Message to Admin Bjs: click
47. Message to User Bjs: click
48. photo to admin : click
49. Start Menu: click
50. Telegraph uploaded: click
51. Ip Location Finder : click
52. Text To Speech: click
53. Shareus URL Shortner: Click
54. Toss Game (Bet and Earn) : click
55. Ip Verification: click
56. Live Channel Members: click
57. Verify Real Paytm No.: click
58. Full2sms deposit: click
58. Temp mail generator php bot: click
59. Create own api: click
60. Send Mail Using Bot: click
61. Find User Balance: click
62. Python Bot (TelebotCreator.com): click
63. Python Refer And Earn Bot: click


ยฉ All Credit To @BotCodes123
ยฎ Uploaded By : @Mohd_arman_idrisi01
๐Ÿ‘12๐Ÿ˜ฑ4โค2๐Ÿ”ฅ1๐Ÿค”1
Command: /start

Bjs:- let info =
"[" + user.first_name + "]" + "(" + "tg://user?id=" + user.telegramid + ")"
var joinbuttons = [
[
{ text: "โ“‚๏ธ Main Chainel", url: "https://t.me/PHPSELLER_LOGS" }],
[{ text: "โœ… Login", callback_data: "/Joined" }]]
Api.sendPhoto({
photo: "https://images.unsplash.com/photo-1522252234503-e356532cafd5?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=725&q=80",
caption:
"*๐Ÿ™‹โ€โ™‚ Whats'up* "+info+"\n*โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–\n๐Ÿ”ŽWelcome To The Php Seller Bot\n\n๐Ÿ™ƒBot Developer: @Mohd_arman_idrisi01*",
reply_markup: {
inline_keyboard: joinbuttons
},
parse_mode: "Markdown"
})




var user_link = Libs.commonLib.getLinkFor(user)

function hello(message) {
var greetings = ""

Bot.sendMessage(greetings + message)
}

function doTouchOwnLink() {
Bot.sendMessage("*You're Trying To Invite You're Self โŒ*")
}

function doAttracted(channel) {
hello("Referal: " + channel)
}

function doAtractedByUser(refUser) {
hello("")
Bot.sendMessageToChatWithId(refUser.chatId, "**")
}
function doAlreadyAttracted() {
Bot.sendMessage("")
}

var trackOptions = {
onTouchOwnLink: doTouchOwnLink,
onAttracted: doAttracted,
onAtractedByUser: doAtractedByUser,
onAlreadyAttracted: doAlreadyAttracted
}

Libs.ReferralLib.currentUser.track(trackOptions)
/*var status = Libs.ResourcesLib.anotherChatRes("totalusers", "global")*/

var welco = User.getProperty("welo")
if (welco == undefined) {
var user_link =
"[" + user.first_name + "](tg://user?id=" + user.telegramid + ")"
var status = Libs.ResourcesLib.anotherChatRes("status", "global")
status.add(1)
Bot.sendMessageToChatWithId(
5151868182,
"*๐Ÿ‘จ๐Ÿปโ€โœˆ๏ธNew User๐Ÿ†• - " +
status.value() +
"*\n\n*๐Ÿคด๐ŸปUser = " +
user.first_name +
"\n\n๐Ÿ‘ฎ๐Ÿปโ€โ™‚Username =* " +
user_link +
" \n\n*๐Ÿ’ณUser Id =* " +
user.telegramid +
""
)
}
User.setProperty("welo", user.telegramid, "text")
๐Ÿ‘2๐Ÿ˜ฑ1
Command: /Joined

Bjs:
let channel = "@PHPSELLER_LOGS";
let id = user.telegramid
Api.getChatMember({
chat_id : channel,
user_id : id,
on_result :"check"})
Command:- check

Bjs: var user = options.result.status
User.setProperty("status", user, "string")
if ((user == "member") | (user == "administrator") | (user == "creator")) {
Bot.runCommand("/menu")
User.addToGroup("user")
}

if (user == "left") {
Bot.sendMessage("*You Had Again Didn't Joined All Channnels*")
Bot.runCommand("/start")
}
This Type Bjs Given ๐Ÿ†™ ๐Ÿ‘† Only Start Button
๐Ÿ‘4๐Ÿฅฐ2
Telegra.ph uploader Bjs



Command :- /tg

Bjs :- if (!request.reply_to_message.photo[0]) {
Bot.sendMessage("*Please Reply To A Photo Only!*")
return
}
Bot.sendMessage("Uploading....")
if (request.reply_to_message.photo[3]) {
Api.getFile({ file_id: request.reply_to_message.photo[3].file_id, on_result: "/photosuc" })
return
}
if (request.reply_to_message.photo[2]) {
Api.getFile({ file_id: request.reply_to_message.photo[2].file_id, on_result: "/photosuc" })
return
}
if (request.reply_to_message.photo[1]) {
Api.getFile({ file_id: request.reply_to_message.photo[1].file_id, on_result: "/photosuc" })
return
}
if (request.reply_to_message.photo[0]) {
Api.getFile({ file_id: request.reply_to_message.photo[0].file_id, on_result: "/photosuc" })
return
}


โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–
โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–


Command :- /photosuc

Bjs :-
var limk =
"https://api.telegram.org/file/bot" +
bot.token +
"/" +
options.result.file_path +
""
HTTP.post({url:"https://api.secretprojects.xyz/v1/telegraph/upload/?url="+limk+"", success:"/ontgsup"})



โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–
โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–โž–

Command :- /ontgsup

Bjs :-
var r = JSON.parse(content)
var s = r.telegraph_url
Bot.sendMessage(s,{disable_web_page_preview:false})


Created By :- @Newonep
Api By :- @SecretProjectsOwner
๐Ÿ‘5
โ™ป๏ธ Command:- /start

๐Ÿ“‘ Codes:- <?php
if(chat_type($chat_id)=="private"){
bot_sendMessage($chat_id,$message_id, "$type","","Markdown");
$board = [
[
[
"text" => "โœ… Joined",
"callback_data" => "/join"
]
]
];
$msg = "โœ… To Use This Bot You Must Join To Our Channel\n\n*@botcodes123*\n*@botcodes123\n\nAfter Joined Click On โœ…๏ธJoined*";
bot_sendInlineKeyboard($chat_id,$message_id,$board,"$msg","","Markdown");
user_setProperty($chat_id,"msgID","$message_id");
return;
}
๐Ÿ‘1
โ™ป๏ธ Command:
/join

๐Ÿ“‘ Codes:- <?php
if(chat_type($chat_id)=="private"){
$iddd1 = user_getProperty($chat_id,"msgID");
$iddd = $iddd1+1;
bot_deleteMessage($chat_id,$iddd);
if(MemberLib_checkIsUserJoined("@botcodes123",$message_id,"$chat_id")=="left"){
bot_sendMessage($chat_id,$message_id, "Please Join : *@botcodes123*","","Markdown");
return;
}
if(MemberLib_checkIsUserJoined("@botcodes123",$message_id,"$chat_id")=="left"){
bot_sendMessage($chat_id,$message_id, "Please Join : *@botcodes123*","","Markdown");
return;
}
RefLib_addRefBonus($chat_id,"balance","40");
$board=[
['๐Ÿ’ธ Balance','๐Ÿ‘ซ Invite'],
[ '๐Ÿ—‚ Wallet', '๐Ÿ’ต Withdraw'],
['๐Ÿ’  Refer List']
];
$name = bot_name();
$hmm = UserLib_getNameFor($chat_id);
bot_sendKeyboard($chat_id,$message_id,$board,"*Dear $hmm Welcome To Our @$name*","","Markdown");
return;
}
๐Ÿ‘1
โ™ป๏ธ Command:- ๐Ÿ’ธ Balance

๐Ÿ“‘Codes:- <?php
if(chat_type($chat_id)=="private"){
$a = Assets_show($chat_id,"balance");
bot_sendMessage($chat_id,$message_id, "*๐Ÿฅฐ User @$username\n\n๐ŸŽ‰ Chat Id: $chat_id\n\nโค๏ธ Current Balance : $a Rs\n\nBot Made By: @Mohd_arman_idrisi01*","","Markdown");
return;
}
โ™ป๏ธ command:
๐Ÿ‘ซ Invite

๐Ÿ“‘ Codes <?php
if(chat_type($chat_id)=="private"){
$count = RefLib_checkCount($chat_id);
$ref_link = RefLib_createRefLink($chat_id,"");
bot_sendMessage($chat_id,$message_id, "*๐ŸฅฐUser: @$username \n\n๐ŸŽฏYour ToTal Refers : $count\n\nโญ•๏ธ Your Ref Link : $ref_link*","","Markdown");
return;
}
โ™ป๏ธ command:
๐Ÿ—‚ Wallet

๐Ÿ“‘Codes:- <?php
if(chat_type($chat_id)=="private"){
$board = [
[
[
"text" => "โš™๏ธ Set/Change Wallet",
"callback_data" => "/setWall"
]
]
];
$wallet = user_getProperty($chat_id,"wallet");
bot_sendInlineKeyboard($chat_id,$message_id,$board,"*โœ… Your Current Wallet : $wallet\n\n๐Ÿ‘๐Ÿป You Can Set Or Change Your Wallet*","","Markdown");
return;
}
โ™ป๏ธcommand: /seWall

๐Ÿ“‘ Codes:- <?php
if(chat_type($chat_id)=="private"){
if(message($chat_id,$message_id)=="true"){
user_setProperty($chat_id,"wallet",$message);
bot_sendMessage($chat_id,$message_id, "Wallet Set Successfully To : $message","","Markdown");
clearMessage($chat_id);
}else{
bot_sendMessage($chat_id,$message_id, "*๐Ÿ“ƒ Send Me Your Paytm Number*","","Markdown");
waitForMessage($chat_id,$message_id,"/setWall");
}
return;
}
โ™ป๏ธcommand:
๐Ÿ’ต Withdraw

๐Ÿ“‘Codes:- <?php
if(chat_type($chat_id)=="private"){
$a = Assets_show($chat_id,"balance");
if($a<10){
bot_sendMessage($chat_id,$message_id, "Balance Not Enough","","Markdown");
return;
}
$board = [
[
[
"text" => "โœ… Yes",
"callback_data" => "/wit2"
]
]
];
bot_sendInlineKeyboard($chat_id,$message_id,$board,"โœ… Are You Sure To Withdraw","","Markdown");
return;
}
โ™ป๏ธcommand:
/wit2

๐Ÿ“‘Codes:- <?php
if(chat_type($chat_id)=="private"){
$wallet= user_getProperty($chat_id,"wallet");
$name = bot_name();
$id = UserLib_getLinkFor($chat_id);
$a = Assets_show($chat_id,"balance");
if($a<10){
bot_sendMessage($chat_id,$message_id, "Balance Not Enough","","Markdown");
return;
}
if(message($chat_id,$message_id)=="true"){
$api=file_get_contents("https://full2sms.in/api/v1/disburse/paytm?mid=your mis&mkey=your mkey&guid=Your Guid&amount=$message&mobile=$wallet&info=Bot+Payout+Maded+By+Arman");
$js=json_decode($api,true);
$status=$js['status'];
if($status==="success"){
$status="Payment Success";
}else
if($status=="failed"){
$status="Payment Failed";
}
bot_sendMessage($chat_id,$message_id, "*โœ…๏ธ New Withdraw Request Success \n\n๐ŸŽญ User: @$id \n๐Ÿ’ธ Amount: $message Rs.\nโค๏ธโ€๐Ÿ”ฅBot: @$name\n๐Ÿ“ƒ Wallet: $wallet\n๐Ÿฅ Status: $status\n\nDev: @Mohd_arman_idrisi01*","","Markdown");
Assets_cut($chat_id,"balance",$message);
clearMessage($chat_id);
}else{
bot_sendMessage($chat_id,$message_id, "๐Ÿ”ฐ Send Your Amount To Withdraw","","Markdown");
waitForMessage($chat_id,$message_id,"/wit2");
}
return;
}
โ™ป๏ธcommand:
๐Ÿ’  Refer List

๐Ÿ“‘Codes:- <?php
if(chat_type($chat_id)=="private"){
$list = RefLib_checkList($chat_id);
$users = explode(",", "$list");
$all_users = "";
foreach ($users as $user) {
$banda = UserLib_getLinkFor($user);
$all_users = "*$all_users\n@$banda*";
}
bot_sendMessage($chat_id,$message_id, "๐Ÿ‘ป Your Refer List :\n $all_users","","Markdown");
return;
}
๐Ÿ‘1
๐Ÿ‘‰Paytm Autopay Codes

๐Ÿ‘‰Start:- Click Here
๐Ÿ‘‰End:- Click Here

๐Ÿ‘‰This Is Not BB Codes This is Php Bot Codes You Can Use Is Botroid.in ...

๐Ÿ‘‰For More:- @botcodes123
โค6๐Ÿ’”1
Play Store App Detail Finder Codes For Php Bot
__


โ™ป๏ธCommand: /app


๐Ÿ“‘ Codes:- <?php
$split= explode(" ",$message);
$msg=$split[1];
if(!$msg){
bot_sendMessage($chat_id,$message_id,"Please Send Like This /app App Name","","Markdown");
return;
}
$curl = curl_init();

curl_setopt_array($curl, array(
CURLOPT_URL =>"https://api.secretprojects.xyz/v1/playstore/?app=$msg",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 2,
CURLOPT_TIMEOUT => 10,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_CUSTOMREQUEST => "GET"
));
$ap = curl_exec($curl);
bot_sendMessage($chat_id,$message_id,$ap,"","Markdown");
$js=json_decode($ap,true);
$name=$js['name'];
$id=$js['id'];
$dev=$js['developer'];
$category=$js['category'];
$type=$js['type'];
$downloads=$js['installs'];
$price=$js['price'];
$summary=$js['summary'];
$new=$js['last_updated'];
$logo=$js['icon'];
$bname = bot_name();
bot_sendPhoto($chat_id,$message_id,$logo,"*โœ…๏ธ Here Is Your App Detail\n\n๐Ÿ‘‰Name: $name\n๐Ÿ‘‰Id: $id\n๐Ÿ‘‰Category: $category\n๐Ÿ‘‰Developer: $dev\n๐Ÿ‘‰Type: $type\n๐Ÿ‘‰Total Installs: $downloads\n๐Ÿ‘‰Price: $price\n\n๐Ÿ‘‰Summary: $summary\n๐Ÿ‘‰Last updated: $new\n\nDetails By: @$bname*","","Markdown");


๐Ÿ‘‰Maded By:-
@Mohd_arman_idrisi01
๐Ÿ‘‰For More Join: @Botcodes123
๐Ÿ”ฅ2๐Ÿ˜ฑ1
Guys After A Long Time I Have Maked a Video Please Like๐Ÿ™‚

Link:-
https://youtu.be/nmK5NRJL9Fs
https://youtu.be/nmK5NRJL9Fs
๐Ÿ‘3
๐Ÿšจ Link Shortner Code(php)

Command : /link

Code :
<?php
$split = explode(" ",$message);
$msg = $split[1];
if(!$msg){
bot_sendMessage($chat_id,$message_id, "Invalid Use : /link https://plughost.in","","Markdown");
return;
}
$curl = curl_init();

curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.i-tools.site/short/?url=$msg",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 2,
CURLOPT_TIMEOUT => 10,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_CUSTOMREQUEST => "GET"
));
$response = curl_exec($curl);

curl_close($curl);
$data = json_decode($response,true);
$url = $data["shortenUrl"];
bot_sendMessage($chat_id,$message_id, "$url","","Markdown");



Credit:- @TricksXTechOwner
โค5๐Ÿ‘2