Advanced Coding
26.8K subscribers
42 photos
9 videos
18 files
57 links
Owner :- @MiddleDealer
Download Telegram
Channel created
ALL BOT CODES FOR FREE 😍😍
👍22🤩1
/start
👍30
var button = [{ title : "⚜️ Joined ⚜️" , command : "⚜️ Joined ⚜️" }]
Bot.sendInlineKeyboard(button , "*🎉 Join Our Official Channels to Start This Bot: \n\n➡️ @Paytm_Earning_Star \n\n➡️ @FKPC_Payment_Proof \n\n➡️ @paytmcashx \n\nAfter do all the steps click ☑️Joined*")
function hello(message) {
var greetings = ""

Bot.sendMessage(greetings + message)
}

function doTouchOwnLink() {
Bot.sendMessage("*You're Trying To Invite You're Self *")
}

function doAttracted(channel) {
hello("Referal: " + channel)
}

function doAtractedByUser(refUser) {
hello("")
var balance = Libs.ResourcesLib.anotherUserRes("balance", refUser.telegramid)
balance.add(6)
Bot.sendMessageToChatWithId(refUser.chatId, "*🏧 New Referral : +6 Rs*");
}

function doAlreadyAttracted(){
Bot.sendMessage("*You Already Started The Bot *");
}

var trackOptions = {
onTouchOwnLink: doTouchOwnLink,
onAttracted: doAttracted,
onAtractedByUser: doAtractedByUser,
onAlreadyAttracted: doAlreadyAttracted
}

Libs.ReferralLib.currentUser.track(trackOptions);

var status = Libs.ResourcesLib.anotherChatRes("status", "global")
status.add(1)
👍183😁2🔥1