Coding with Mohit
رفتن به کانال در Telegram
اطلاعاتی وجود ندارد
مشترکین
-624 ساعت
+377 روز
+4230 روز
آرشیو پست ها
✅ Bjs for deleting message after a certain ( fixed ) :-
👉 Command :
*
💫 Bjs :
var messageID = request.message_id
var deleteAfter = 10
User.setProperty("messageID", messageID, "string")
Bot.run({
command: "/delete",
run_after: deleteAfter
})
👉 Command : /delete
💫 Bjs :
var messageID = User.getProperty("messageID")
Api.deleteMessage({
message_id: messageID
})
👑 Bjs coded by : @Mohit_Kr_Mishra
🌟 Bjs requested by : Renus Hacker
❤️ Share with credit : @codingwithmohit
🔥 Don't forget to drop reactions 😊🙂 I'm going Offline for 28 days
👋 Bye - Bye Friends
🥰 Don't leave aane ke baad kuch leke aa raha hu
🥹 And finally, we did it 🎉
❤️ Literally, I didn't expect that we will achieve this in such time. I'm very thankful to you all friends 🙂
🔥 Thank you so much & love you friends for your support.
😊 Keep supporting, something big is coming for my friends 🥳
✔️ Those who didn't receive the bot due to server issue, check now the bot has been sent 📤
😊 And the users who still haven't watched the tutorial, go now & watch it to make your #free Refer & Earn Bot 🔥
↗️ Tutorial : Click
⚠️ Notice : Those who haven't received the bot, please don't panic because there's server issue of Bots.Business.
👉 Those who didn't receive, raise your hands ( ✋ ) in the comment & I'll send the bot again after the server uptime.
⚠️ Note : Only users who've claimed & not received will raise hand else go & watch the full tutorial
~ Thank you © @codingwithmohit ❤️
✔️ How to create an Advance Refer and Earn Bot without Coding - Full Tutorial Explained
🎉 Refer and Earn Bot tutorial published
✅ Link : https://youtube.com/@codingwithmohit05
😍 Go & watch & make your own #Free Refer and Earn Bot
🥰 Drop more & more reactions 😊
🔥 Get ready friends
✅ Subscribe & on the notification: https://youtube.com/@codingwithmohit05
🔥 I've found a great RUB bot that's literally genuine & is going to pay you all on 03/01/2024 for your referrals 😍
🔗 Bot link : Click
❓ How will you get free RUB?
» Start the bot » Join all the channels » Submit your Payeer ID & Twitter username » Done ! Now refer to earn free RUB 🆓
✔️ Payeer link : Click
👍 It's 💯% legit so don't miss & share with your friends to earn free RUB 🆓
Do you guys want a revised video tutorial on how to make "Advance Telegram Refer & Earn Bot" in detail ?
Looking for some fantastic content related to Web Development and Programming🤔?
Look no further! Join this telegram channel For Fantastic Content 🤩
👇🏻
https://t.me/codingexpert142
https://t.me/codingexpert142
📢 Broadcast anything Bjs :-
✔️ Command :
/start
💫 Bjs :
var newUser = User.getProperty("newUser")
if (!newUser) {
User.setProperty("newUser", "Yes", "string")
var url = "https://api.projectoid.site/v1/telegram/botpanel/adduser.php"
var botID = bot.token.split(":")[0]
var accessToken = "your access token" // Generate it from https://projectoid.site/services/telegram/bot/register
HTTP.post({
url: url,
body: {
bot_id: botID,
access_token: accessToken,
user_id: userID
}
})
}
✔️ Command : /broadcast
👉 Answer : *📢 Send the message to broadcast.*
✅ Wait for answer : On
💫 Bjs :
var admin = Bot.getProperty("admin") //enter your telegram id if don't have admin property
var users = user.telegramid
var botLink = "@" + bot.name
if (users === admin) {
var url = "https://api.projectoid.site/v1/telegram/botpanel/broadcast.php"
var botID = bot.token.split(":")[0]
var accessToken = "your access token" // Generate it from https://projectoid.site/services/telegram/bot/register
try {
var msg = message
function broadcast(type, method, cap, fileid) {
HTTP.post({
url: "https://api.projectoid.site/v1/telegram/botpanel/broadcast.php",
headers: { "content-type": "application/json" },
body: {
method: method,
text: cap,
access_token: accessToken,
bot_token: bot.token,
admin: admin,
type: type,
file_id: fileid,
caption: cap,
parseMode: "html", //you can change it to Markdown
disableWebPreview: true,
protectContent: false //pass true if you don't allow to forward/save message
}
})
}
var boarding = " <b><u>Broadcast By Admin</u></b> \n\n"
var caption = !request.caption ? boarding : boarding + " " + request.caption
if (request.photo[0]) {
broadcast("photo", "sendPhoto", caption, request.photo[0].file_id)
return
}
if (request.text) {
broadcast(
"text",
"sendMessage",
" <b><u>Broadcast By Admin</u></b> \n\n" + message,
null
)
return
}
if (request.video) {
broadcast("video", "sendVideo", caption, request.video.file_id)
return
}
if (request.audio) {
broadcast("audio", "sendAudio", caption, request.audio.file_id)
return
}
if (request.document) {
broadcast("document", "sendDocument", caption, request.document.file_id)
return
}
if (request.sticker) {
broadcast("sticker", "sendSticker", null, request.sticker.file_id)
return
}
if (request.animation) {
broadcast(
"animation",
"sendAnimation",
caption,
request.animation.file_id
)
return
}
if (request.voice) {
broadcast("voice", "sendVoice", caption, request.voice.file_id)
return
}
if (request.video_note) {
broadcast("video_note", "sendVideo", caption, request.video_note.file_id)
return
}
} catch (err) {
Bot.sendMessage(
err + "\n\n*Please Reach out @BjsCodesChat with Error Screenshot.*"
)
}
return
} else {
var notAdminText = "<i>⚠️ You're not the admin of " + botLink + ".</i>"
Api.sendMessage({
text: notAdminText,
parse_mode: "html"
})
}
🔗 Generate your access token from here : https://projectoid.site/services/telegram/bot/register
👑 Bjs coded by : @Mohit_Kr_Mishra
🤝 API credit : Projectoid
❤️ Share with credit : @codingwithmohit ©