ADVANCE BOT CODERS
@Uploadimage05_bot
Ye wala duu
πCommand:-
Answer:-
β Wait for answer on β
β»οΈBjs:-
/startAnswer:-
Send the Image of you want the url.β Wait for answer on β
β»οΈBjs:-
var inline = [[{title : "β Channel β" , url : "https://t.me/ourchannelop"},{title : "β Owner β" , url : "https://t.me/idrisiboy123"},{title : "Want this Bot??" , command : "Want this bot??"}]]
Bot.sendInlineKeyboard(inline, "Hello ["+user.first_name+"](tg://user?id="+user.telegramid+"), This is My small media or file to link uploader bot. Made By Arman β€οΈ.\n\n- Just send me a media up to 10MB\n- Then I will download it\n- I will then upload it to link",{ is_reply: true })
Bot.runCommand("upload")More coming wait half and hour because I have some work
Command :-
Bjs :-
uploadBjs :-
if (!request.photo[0]) {
Bot.sendMessage("*Please Send A Photo Only!*")
Bot.runCommand("/start")
return
}
if (request.photo[3]) {
Api.getFile({ file_id: request.photo[3].file_id, on_result: "/photolinksuc" })
return
}
if (request.photo[2]) {
Api.getFile({ file_id: request.photo[2].file_id, on_result: "/photolinksuc" })
return
}
if (request.photo[1]) {
Api.getFile({ file_id: request.photo[1].file_id, on_result: "/photolinksuc" })
return
}
if (request.photo[0]) {
Api.getFile({ file_id: request.photo[0].file_id, on_result: "/photolinksuc" })
return
}π1
πCommand:-
Bjs:-
/photolinksucBjs:-
Bot.sendMessage("Uploading . . . . . . .",
{
on_result: "Edited", is_reply: true}
);
var limk =
"https://api.telegram.org/file/bot" +
bot.token +
"/" +
options.result.file_path +
""
HTTP.post({url:"https://api.imgbb.com/1/upload?key=10d3d7a469215f98ec6b8e022c7d6e7c&image="+limk+"", success:"/onsup"})π1
πCommand :- /onsup
BJS :-
BJS :-
var r = JSON.parse(content)
var s = r.data.url
let msg_id = options.result.message_id;
Bot.editMessage("Downloading Completed. Now I'am Uploading to Photo...",msg_id)
Bot.editMessage("Downloading Completed. Now I'am Uploading to Photo...",msg_id)
Bot.editMessage("Downloading Completed. Now I'am Uploading to Photo...",msg_id)
Bot.editMessage(s,
msg_id,
{disable_web_page_preview: true})
var button = [[{title:"Tap Here to Rate β€οΈ",command:"Rate"}]]
Bot.sendInlineKeyboard(button,"*Please Rate Our Bot so that we can know How was your Experience π*")π1
Command:- Rate
Bjs:-
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
})
}
var alreadysent = User.getProperty("alreadysent")
if(alreadysent){
Bot.sendMessage("You Already Rated Thanks β€οΈ")
return}
var button = [[{title :"β€β€β€β€β€",command: "/rate π π π π π"}],[{title : "π§‘π§‘π§‘π§‘",command :"/rate π π π π"}],[{title:"πππ",command:"/rate πππ"}],[{title:"ππ",command:"/rate ππ"}],[{title:"π€",command:"/rateπ"}]]
Bot.sendInlineKeyboard(button,
"*π€ Please Rate Us : @"+ bot.name + "*")Command:- /rate
Bjs :- var alreadysent = User.getProperty("alreadysen")
if(alreadysent){
Bot.sendMessage("*π« You Heve Already Rated\n\nWant to see your Rating, Join Here :- @your*")
return}
Api.sendMessage({
chat_id: "@yourchannalename",
text: "*β€οΈ Thanks for your Feedback β€οΈ\n\nπ€ Name : - "+user.first_name+" \nπ¨βπ»User Id - "+user.telegramid+"\nπ¬User name - @"+user.username+"\nβοΈBot - @"+bot.name+"\nπRating " + params + "*",parse_mode: "Markdown"
})
Api.answerCallbackQuery({
callback_query_id: request.id,
text: "π Thanks For Rating Us π",
show_alert: true })
Bot.sendMessage("*β€οΈ Thanks For Rating Us β€οΈ\n\n Want to see your Rating π, Join Here :- @mohitallbotsproofs*")
User.setProperty("alreadysen",".")
Bjs :- var alreadysent = User.getProperty("alreadysen")
if(alreadysent){
Bot.sendMessage("*π« You Heve Already Rated\n\nWant to see your Rating, Join Here :- @your*")
return}
Api.sendMessage({
chat_id: "@yourchannalename",
text: "*β€οΈ Thanks for your Feedback β€οΈ\n\nπ€ Name : - "+user.first_name+" \nπ¨βπ»User Id - "+user.telegramid+"\nπ¬User name - @"+user.username+"\nβοΈBot - @"+bot.name+"\nπRating " + params + "*",parse_mode: "Markdown"
})
Api.answerCallbackQuery({
callback_query_id: request.id,
text: "π Thanks For Rating Us π",
show_alert: true })
Bot.sendMessage("*β€οΈ Thanks For Rating Us β€οΈ\n\n Want to see your Rating π, Join Here :- @mohitallbotsproofs*")
User.setProperty("alreadysen",".")
π1
π2
ADVANCE BOT CODERS
Need 1 Day 1 Withdraw Bot (autopay)
Ye
bot chahiye kisi ko
bot chahiye kisi ko
Advanced Chat Bot π BJS
ββββββββββ
π Here is the Code π
ββββββββββ
β€ Command :- βοΈ Send Msg
π BJS :- let Ask = User.getProperty("Ask")
var button = { title : "βοΈ Send Msg " , command : "Msg" }
Bot.sendInlineKeyboard(button , "π« Last Message = "+Msg+"")
ββββββββββββββ
β€ Command :- Msg
π Answer :- βοΈ You Can Chat With Name By This Bot. Send Msg Bro π
β
Wait for Answer :- on
π BJS :- let Ask = User.getProperty("Ask")
User.setProperty("Ask" ,message ,"string")
Bot.sendMessage("π© Message Sent To Ravan Wait Some Time = "+message+"")
Bot.sendMessageToChatWithId(Your I'd, "π© New Message From User π©
π€΄π» User = "+user.first_name+"
π Message = "+message+"
π° TG I'd = "+user.telegramid+"")
π This Code for User Want to Send π This BJ's for Answering
β€ Command :- /CWU
π BJ'S :- if (user.telegramid == YOUR ID ) {
Bot.runCommand("/CWU2")
} else {
Bot.sendMessage("You're not the admin")
}
ββββββββββββββββ
β€ Command :- /CWU2
π Answer :- π User I'd. You want to send Msg
β
WAIT FOR ANSWER = ON
π BJ's :- if (user.telegramid == YOUR ID ) {
let msg = message
Bot.run({
command: "/CBU3",
options: { tgid: msg }
})
} else {
Bot.sendMessage("LOL U Not My Master π")
}
ββββββββββββββββ
β€ Command :- /CBU3
π Answer :- Send Msg For The User π€©
β
Wait for Answer :- on
π BJ's :- if (user.telegramid == YOUR ID ) {
let msg = message
let tgid = options.tgid
Bot.sendMessageToChatWithId(tgid, "Sorry For Waiting. Your Reply From Your Name π€
" + msg + "")
Bot.sendMessage("Message Sent to The User π₯")
} else {
Bot.sendMessage("LOL π€£YOU ARE NOT MY MASTER")
}π Here is the Code π
π2
π2β€1
Guys konsa bot chahiye
π1π₯°1π1