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
Command :
/startCode :
<?phpCommand :
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");
}
/ansCode :
<?phpCommand :
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");
}
/startMainCode :
<?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
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
Command :
/countryCode :
<?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
@PaytmAutoPayBotRoidBot
Codes coming ๐ฅด๐ฅด
Hosting = BotRoid.in
๐2
Some errors are come ๐
Setup karne codes drop karduga me ๐๐
New vale with capture
Setup karne codes drop karduga me ๐๐
New vale with capture
โป๏ธ Command:-
๐ Codes:-
/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:
๐ Codes:-
/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:-
๐Codes:-
๐ธ 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:
๐ Codes
๐ซ 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:
๐Codes:-
๐ 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:
๐ Codes:-
/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:
๐Codes:-
๐ต 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:
๐Codes:-
/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:
๐Codes:-
๐ 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
โป๏ธ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*";โฆ
๐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
๐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
โค1
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ยป
๐ Captcha In Bot Advance
Command ::-
ยฉ๏ธ API By ::- @coder_debojit
Command ::-
/start
Code::- <?php
if(user_getProperty($chat_id,"isVerified")=="undefined"){
$x = file_get_contents("https://thedebojit.tech/captcha/");
$data = json_decode($x,true);
$img = $data["image"];
$ans = $data["ans"];
$board = [
[
[
"text" => "Answer",
"callback_data" => "/ans"
]
]
];
bot_sendPhotoWithInlineKeyboard($chat_id,$message_id,$img,$board,"โก๏ธ Before we start the airdrop, please prove you are human by answering the question below..\nโ
Please answer:","","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");
}ยฉ๏ธ API By ::- @coder_debojit
โค2
๐ @Tuf_Puf_Bot 's Code
Command ::-
Code ::-
Command ::-
Code ::-
Command ::-
/startCode ::-
<?phpCommand ::-
if(chat_type($chat_id)=="private"){
bot_sendMessage($chat_id,$message_id, "๐ฐ This Bot Is Made By [Botroid](https://Botroid.in)","yes","Markdown");
return;
}
*Code ::-
<?phpCommand ::-
if(chat_type($chat_id)=="private"){
return;
}
$msgg = explode(" ",$message);
$msg = $msgg[1];
if($msg){
return; }
if(strlen("$message")<3){
return; }
$cur = $msgg[0];
$curr = strtoupper($cur);
$tooo = "USDT";
$cnv = iPayments_Lib_ConvertCryptoV2("key","$curr","usdt","1");
$data = preg_split("/[,]+/", $cnv);
if($data[0]=="Failed"){
return;}
$rate = $data[1];
if(!$rate){
return;}
$high = $data[2];
$low = $data[3];
$supply = $data[4];
$market_cap = $data[5];
bot_sendMessage($chat_id,$message_id, "๐ฐ $curr/$tooo\n๐ญ Rate : $rate $tooo\nโฌ๏ธ 24 Hrs High : $high ๐ค\nโฌ๏ธ 24 Hrs Low : $low ๐ญ\n๐ Supply : $supply $curr\n๐ Market Cap : $market_cap $tooo ๐ฒ\n\nโค๏ธ Please [Donate Us](https://telegra.ph/Donate-To-Tuf-Puf-Bot-02-28) For Non Stop Service.","yes","Markdown");
//return;}
/pCode ::-
<?phpCommand ::-
$msg = explode(" ",$message);
$cur = $msg[1];
if(!$cur){
bot_sendMessagep($chat_id,"", "โ ๏ธ Invalid, Use : /p TRX\nOr\n/p TRX INR","yes","Markdown");
//bot_sendMessagep($chat_id,$message_id, "omfoo: $message_id","yes","HTML");
return;
}
$too = $msg[2];
$to;
if(!$too){
$to="USDT";
}else{
$to=$too;
}
$tooo = strtoupper($to);
$curr = strtoupper($cur);
$cnv = iPayments_Lib_ConvertCryptoV2("key","$curr","$to","1");
$data = preg_split("/[,]+/", $cnv);
if($data[0]=="Failed"){
$err = $data[1];
bot_sendMessage($chat_id,"", "โ Not A Valid Crypto Or $err.","yes","Markdown");
return;}
$rate = $data[1];
$high = $data[2];
$low = $data[3];
$supply = $data[4];
$market_cap = $data[5];
bot_sendMessage($chat_id,$message_id, "๐ฐ $curr/$tooo\n๐ญ Rate : $rate $tooo\nโฌ๏ธ 24 Hrs High : $high ๐ค\nโฌ๏ธ 24 Hrs Low : $low ๐ญ\n๐ Supply : $supply $curr\n๐ Market Cap : $market_cap $tooo ๐ฒ\n\nโค๏ธ Please [Donate Us](https://telegra.ph/Donate-To-Tuf-Puf-Bot-02-28) For Non Stop Service.","yes","Markdown");
/cnv
Code ::-
<?php
$msg = explode(" ",$message);
$amo = $msg[1];
$cur = $msg[2];
$to = $msg[3];
if(!($amo)||!($cur)||!($to)){
bot_sendMessage($chat_id,$message_id, "โ ๏ธ Invalid, Use : /cnv 1 TRX INR","yes","Markdown");
return;
}
$too = strtoupper($to);
$curr = strtoupper($cur);
$cnv = iPayments_Lib_ConvertCryptoV2("key","$curr","$too","$amo");
$data = preg_split("/[,]+/", $cnv);
if($data[0]=="Failed"){
$err = $data[1];
bot_sendMessage($chat_id,$message_id, "โ Not A Valid Crypto Or $err.","yes","Markdown");
return;}
$rate = $data[1];
$high = $data[2];
$low = $data[3];
$supply = $data[4];
$market_cap = $data[5];
bot_sendMessage($chat_id,$message_id, "๐ฐ $curr/$too\n๐ญ Rate : $amo $curr = $rate $too\nโฌ๏ธ 24 Hrs High : $high ๐ค\nโฌ๏ธ 24 Hrs Low : $low ๐ญ\n๐ Supply : $supply $curr\n๐ Market Cap : $market_cap $too ๐ฒ\n\nโค๏ธ Please [Donate Us](https://telegra.ph/Donate-To-Tuf-Puf-Bot-02-28) For Non Stop Service.","yes","Markdown");
Command ::-
/rnd
Code ::-
<?php
$rt = iPayments_Lib_RndCT();
$dec = json_decode($rt,true);
$cur = $dec['symbol'];
$to="USDT";
$tooo = strtoupper($to);
$curr = strtoupper($cur);
$cnv = iPayments_Lib_ConvertCryptoV2("key","$curr","$to","1");
$data = preg_split("/[,]+/", $cnv);
if($data[0]=="Failed"){
$err = $data[1];
//bot_sendMessage($chat_id,"", "โ Not A Valid Crypto Or $err.","yes","Markdown");
bot_sendMessage($chat_id,"", "โ Please Try Again After 5 Seconds.","yes","Markdown");
return;}
$rate = $data[1];
$high = $data[2];
$low = $data[3];
$supply = $data[4];
$market_cap = $data[5];
bot_sendMessage($chat_id,$message_id, "๐ฐ $curr/$tooo\n๐ญ Rate : $rate $tooo\nโฌ๏ธ 24 Hrs High : $high ๐ค\nโฌ๏ธ 24 Hrs Low : $low ๐ญ\n๐ Supply : $supply $curr\n๐ Market Cap : $market_cap $tooo ๐ฒ\n\nโค๏ธ Please [Donate Us](https://telegra.ph/Donate-To-Tuf-Puf-Bot-02-28) For Non Stop Service.","yes","Markdown");
โค1๐1