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
ADVANCE BOT CODERS
@Botcodes123_giveaway_bot
This Bot sended
♻️This is our official php seller Bot♻️

Link:- @Phpseller_Robot

Herr you can buy all types php in very affordable price.

Some php added more adding.
Guys do you want this type bot codes

For yes Send ❀️ in comment
❀4πŸ‘2
Video bana ke dena hoga ya bana loge

For video πŸ‘

No video β™₯
πŸ‘4❀1
Guys Video and codes Coming Give Reaction
πŸ‘5
🌟New video uploaded 🌟

https://youtu.be/OqZAm3_WfhI
https://youtu.be/OqZAm3_WfhI

Codes here :- @botcodes123
πŸ‘3
Wait for code jab tak video dekhlo
πŸ‘2
Code coming
🌐 Command - /start

πŸ”° Bjs ‡️

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
})
}


Api.sendPhoto({
photo: "https://i.ibb.co/581B2TY/file-97.jpg", // it is picture!
caption: " * 🎭 Select Payment Methods 🎭*\n\n",
parse_mode : "Markdown" ,


reply_markup: { inline_keyboard: [
[
{ text: "🎭 PayTM Wallet", callback_data: "PayTM" },{text: "⚠️ Help", callback_data: "Help" }
]]}
});

var welco = User.getProperty("welco")
if (welco == undefined) {
var user_link =
"[" + user.first_name + "]" + "(" + "tg://user?id=" + user.telegramid + ")"
var status = Libs.ResourcesLib.anotherChatRes("status", "global")
status.add(2)
Bot.sendMessageToChatWithId(5331136537,
"*🎭 New User *\n\n πŸ‘¨β€πŸŒΎUser = "+user.first_name+"\n\nπŸ’³ User Id =* " +
user.telegramid +
""
)
}
User.setProperty("welco", user.telegramid, "text")
πŸ‘1😱1
🌐 Command - PayTM

⚠️ Wait For Answer On πŸ†—

πŸ—£οΈ In Answer -
*πŸ—£οΈ Send Amount You Want Pay*

πŸ”° Bjs ‡️



var rand = Libs.Random.randomInt(100, 100000)

function isNumeric(n) {
return !isNaN(parseFloat(n)) && isFinite(n)
}
var value = message
if (!isNumeric(value)) {
Bot.sendMessage("*πŸ“› Invaild Value. Enter Only Numeric Value. Try Again*", {
is_reply: true
})
return
}
if (message <0.99) {
Bot.sendMessage("*❌ Min. Deposit Amount Is β‚Ή1\n❌ Max. Deposit Amount Is β‚Ή99*")
return
}
if (message >99) {
Bot.sendMessage("*❌ Min. Deposit Amount Is β‚Ή1\n❌ Max. Deposit Amount Is β‚Ή99*")
return
}
var rand = Libs.Random.randomInt(1000000000, 9000090000)
User.setProperty("id",rand,"integer")
var idd = User.getProperty("id")
User.setProperty("re", null)
User.setProperty("amount", message, "integer")
var txt =
"*πŸš€ User : " +
user.first_name +
"\nπŸ’Έ Amout : " +
message +
" Rupees Only*\n*🚧 Order ID * : " +
idd +
""
var button = [
[
{
title: "🏳️ Pay ",
url:
"https://full2sms.in/gateway/processPpayment?token=Your Token&amount="+message+"&order_id=" +idd+ "&cpin=Your CPIN"
}
],
[{ title: "Paid βœ…", command: "/onSuc" }]
]
Bot.sendInlineKeyboard(button, txt, { is_reply: true })
πŸ‘2
🌐 Command - /onSuc

πŸ”° Bjs ‡️


var id = User.getProperty("id")
HTTP.get( {
url: "https://full2sms.in/gateway/paymentStatus?order_id="+id+"&gpin=Your GPIN",
success: "/onSuc1"
} )
🌐 Command - /onSuc1

πŸ”° Bjs ‡️



if (content == "Invalid Order id!") {
Bot.sendMessage("No Transaction Found!")
return
}
var res = JSON.parse(content)
var re = User.getProperty("re")
var id = User.getProperty("id")
var balance = Libs.ResourcesLib.userRes("balance")
var amount = User.getProperty("amount")
var suc = res.status
if (suc == "success") {
if (re == "suc") {
Bot.sendMessage("*Amount - " +amount+ " Rupees Only\n \nπŸ“› Your Payment Has Been Successfully Sended To User 🎭*")
} else {
Api.sendPhoto({
photo: "https://t.me/Payment_Sucessfull/2",
caption:
"🎭 Transaction Success\nπŸ’Έ Amout : " +
amount +
"\n🍭Order Id : " +
id +
""
})
User.setProperty("re", "suc", "string")
return
}
}
Bot.sendMessage("");
πŸ‘3
🌐 Command - /onError

πŸ”° Bjs ‡️

if(content == "Invalid Order id!"){
balance.add("0")
Api.sendPhoto({
photo: "https://images.app.goo.gl/zVWQJHw3HJQiBVibA",
caption:
"🎊 Transaction Failed\nπŸ’Έ Amout : " +
amount +
"\n🍭 Order Id : " +
id +
"\nUpdated Balance: " +
balance.value().toFixed(2) +
""
})
return}
Bot.sendMessage("Ok")
🌐 Command - Help

⚠️ Wait For Answer On πŸ†—

πŸ—£οΈ In Answer -
*How Can I Help You*

πŸ”° Bjs ‡️

Bot.sendMessage("*βœ… Message Sent To Admin*")
Bot.sendMessageToChatWithId(Your Id, "*⚠️ New Support Message\n\n🀴Name:* "+user.first_name+"\n*πŸ’‘Id:* "+user.telegramid+"\nπŸ‘¨β€πŸ’»User: @"+user.username+"\n\n*πŸ“₯ Message: * _"+message+"_",{disable_web_page_preview:true})
πŸ‘3
🌐 Command - Reply

⚠️ 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")
}
πŸ‘1
🌐 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")
}
😒Sorry Guys mai ye bot nahi de paaunga kyuki bot me kuch problem aa gayi hai aap log video dekh ke bot bana lo agar koi problem aaye to comment me batana πŸ‘
πŸ‘3