Botroid Codes
14 subscribers
3 links
Download Telegram
Send Photo โœ…

<?php
$img = "https://t.me/CBGNews/32";
$board=[
['7', '8', '9'],
['4', '5', '6'],
['1', '2', '3'],
['0']
];
bot_sendPhotoWithKeyboard($chat_id,$message_id,$img,$board,"Image","","Markdown");
Send Photo With Keyboard โœ…

<?php
$img = "https://t.me/CBGNews/32";
$board=[
['7', '8', '9'],
['4', '5', '6'],
['1', '2', '3'],
['0']
];
bot_sendPhotoWithKeyboard($chat_id,$message_id,$img,$board,"Image","","Markdown")
;
๐Ÿ‘1
Send Photo With Inline Keyboard โœ…


<?php
$img = "https://t.me/CBGNews/32";
$board = [
[
[
"text" => "key 1",
"url" => "https://google.com/"
],
[
"text" => "key 2",
"callback_data" => "/start"
],
[
"text" => "key 3",
"callback_data" => "x"
]
]
];
bot_sendPhotoWithInlineKeyboard($chat_id,$message_id,$img,$board,"Image","","Markdown")
;
โค1
QR Generator โœ…

<?php
$split = explode(" ",$message);
$msg = $split[1];
if(!$msg){
bot_sendMessage($chat_id,$message_id, "Invalid Use : /qr hi","","Markdown");
return;
}
$img = "https://api.i-tools.site/qr/?text=$msg";
bot_sendPhoto($chat_id,$message_id,$img,"Image","","Markdown");
Please open Telegram to view this post
VIEW IN TELEGRAM
๐ŸšจCaptcha In Bot

Command :
/start

Code :
<?php
if(user_getProperty($chat_id,"isVerified")=="undefined"){
$rnd1 = RandomLib_random(20,40);
$rnd2 = RandomLib_random(1,20);
$ans = $rnd1+$rnd2;
$board = [
[
[
"text" => "Answer",
"callback_data" => "/ans"
]
]
];
bot_sendInlineKeyboard($chat_id,$message_id,$board,"โžก๏ธ Before we start the airdrop, please prove you are human by answering the question below..\nโœ… Please answer: $rnd1 + $rnd2 = ?","","Markdown");
user_setProperty($chat_id,"msgID1","$message_id");
user_setProperty($chat_id,"QuesAns","$ans");
}else{
bot_runCommand($chat_id,$message_id,"/startMain");
}

Command :
/ans

Code :
<?php
if(user_getProperty($chat_id,"isVerified")!="undefined"){
bot_runCommand($chat_id,$message_id,"/startMain");
return;
}
if(user_getProperty($chat_id,"QuesAns")=="undefined"){
bot_runCommand($chat_id,$message_id,"/start");
return;
}
$id1 = user_getProperty($chat_id,"msgID1");
$id = $id1+1;
bot_deleteMessage($chat_id,$id1);
bot_deleteMessage($chat_id,$id);
if(message($chat_id,$message_id)=="true"){
$ans = user_getProperty($chat_id,"QuesAns");
if($message==$ans){
user_setProperty($chat_id,"isVerified","yes");
bot_runCommand($chat_id,$message_id,"/startMain");
}else{
bot_sendMessage($chat_id,$message_id, "โŒWrong Answer","","Markdown");
clearMessage($chat_id);
bot_runCommand($chat_id,$message_id,"/start");
}
}else{
bot_sendMessage($chat_id,$message_id, "๐Ÿ‘Great, please enter the answer.","","Markdown");
waitForMessage($chat_id,$message_id,"/ans");
}

Command :
/startMain

Code :
<?php
if(user_getProperty($chat_id,"isVerified")=="undefined"){
bot_runCommand($chat_id,$message_id,"/start");
return;
}
bot_sendMessage($chat_id,$message_id, "Correct ans","","Markdown");
Please open Telegram to view this post
VIEW IN TELEGRAM
โš ๏ธ Convert Crypto Rate

Command :
/p

Code :
https://code-bin.tk/QSkY9c09g2
๐Ÿšจ Link Shortner Code

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");
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿšจ About Country

Command :
/country

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

curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.i-tools.site/country/?name=$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);
$code = $data["code"];
$cap = $data["capital"];
$reg = $data["region"];
$cur = $data["currency"]["code"];
$cur_name = $data["currency"]["name"];
$cur_sym = $data["currency"]["symbol"];
$lang = $data["language"]["code"];
$lang_name = $data["language"]["name"];
$flag = $data["flag"];
$dail_code = $data["dialling_code"];
bot_sendPhoto($chat_id,$message_id,$flag,"Code : $code\nCapital : $cap\nRegion : $reg\nCurrency : $cur\nCurrency Name : $cur_name\nCurrency Symbol : $cur_sym\nLanguage : $lang\nLanguage : $lang_name\nDial Code : $dail_code","","Markdown");
Please open Telegram to view this post
VIEW IN TELEGRAM
Paytm Auto Pay Bot ready guys โค๏ธ

@PaytmAutoPayBotRoidBot

Codes coming ๐Ÿฅด๐Ÿฅด
Hosting = BotRoid.in
๐Ÿ‘2
Some errors are come ๐Ÿ˜‚
Setup karne codes drop karduga me ๐Ÿ™ƒ๐Ÿ™ƒ
New vale with capture
โ™ป๏ธ 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;
}
โ™ป๏ธ 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;
}
โ™ป๏ธ 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;
}
๐Ÿ‘1
โ™ป๏ธ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;
}
๐Ÿ‘2
Botroid Codes pinned ยซ๐Ÿ‘‰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 ... @BotRoidSupport ๐Ÿ‘‰For More:- @BotRoidCodeยป