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 (chat.chat_type != "private") {
Bot.sendMessage("_Open me in private_")
return
}
var res = Libs.ResourcesLib.userRes("balance")
var wallet = User.getProperty("wallet", message, "string")
var twitter = User.getProperty("twitter", message, "string")
var name = User.getProperty("name", message, "string")
var lib = Libs.ReferralLib
var reflist = lib.currentUser.refList
reflist = lib.currentUser.refList.get()
var tgid = user.telegramid
var refcom = Libs.ResourcesLib.userRes("refcom")
var bot = Libs.ReferralLib.currentUser.getRefLink(
"WhiteX_Cammunity_Vip_Round2_Bot",
"TRX"
)
var TRX = 6.667 * refcom.value()
var msg
if (reflist.length > 0) {
msg = reflist.length
} else {
msg = "0"
}
var key = [
[
{ title: "🔄", command: "checkym" },
{ title: "🧩Withdrawal", command: "him" },
{ title: "🦄Claim Airdrop", command: "/claim" }
]
]
//always know you can change your Withdrawal status
var info = "" + user.first_name + ""
Bot.sendInlineKeyboard(
key,
"👏 Congratulations\n per refer 10 WHXCV," +
info +
"\n\n🗣️ Your Bot Invite Link:" +
"\n" +
bot +
"\n\n" +
"🗣️ Total Invited :" +
reflist.length +
" users\n\n💰 Airdrop Balance: " +
res.value() +
" WHXCV\n\n🎙️ Airdrop Details:\n\n💼 Wallet: " +
wallet +
"\n\nTwitter Username: " +
twitter +
"\n\nTelegram Username: " +
name
)
By Radical