https://t.me/edgesoftwareDev
Are you looking for a one-stop solution for all your tech needs? Look no further than @Anmah_Tech! Our channel is dedicated to providing you with the latest in tech news, SNi Host, VPN files, payloads, digital code cracking, internet tips, tricks, and hacks. Whether you are interested in learning about new payment methods, digital code cracking techniques, or just want to stay updated on the latest tech trends, we've got you covered. Join us today and be part of a vibrant community of tech enthusiasts! Don't miss out on our exclusive offers and promotions. Click on the link to explore more: https://telega.io.anmah_tech
20 Nov, 11:17
14 Nov, 11:02
13 Nov, 12:10
12 Nov, 22:59
12 Nov, 07:03
09 Nov, 04:17
07 Nov, 11:54
06 Nov, 05:53
02 Nov, 19:51
31 Oct, 18:33
27 Oct, 12:25
27 Oct, 12:07
27 Oct, 01:36
26 Oct, 14:38
26 Oct, 10:49
25 Oct, 02:53
19 Oct, 09:12
15 Oct, 13:35
15 Oct, 10:42
13 Oct, 20:05
06 Oct, 02:19
05 Oct, 08:28
/start
//add this part in /start Command
var url = "https://teleserviceapi.000webhostapp.com/api/broadcast/adduser/";
HTTP.post({
url: url,
headers: { "content-type": "application/json" },
body: {
access_token: "Your_access_Token",// generate from @tele_servicebot
bot_token: bot.token,
user_id: user.telegramid
},
})
/broad
*Send Message For Broadcast ๐ค*
var admin = your_tg_id; // replace with your admin id get from @tele_servicebot by /getid command
var botLink = "@" + bot.name;
// Define the broadcast function outside of the try block
function broadcast(type, method, cap, fileid) {
var url = "https://teleserviceapi.000webhostapp.com/api/broadcast/broadcast/";
var botToken = bot.token;
var accessToken = "your_access_token"; // Generate it from @Tele_ServiceBot
HTTP.post({
url: url,
headers: { "content-type": "application/json" },
body: {
method: method,
text: cap,
access_token: accessToken,
bot_token: botToken,
admin: admin,
type: type,
file_id: fileid,
caption: cap,
parseMode: "HTML", //you can change it to Markdown
disableWebPreview: true, // boolean value [true/false]
protectContent: false, // pass true if you don't allow to forward/save message
ispin: false // pass true if you want to pin broadcast messages
}
});
}
if (user.telegramid == admin) {
try {
var boarding = "";
var caption = !request.caption ? boarding : boarding + " " + request.caption;
if (request.photo request.photo[0]) {
broadcast("photo", "sendPhoto", caption, request.photo[0].file_id);
return;
}
if (request.text) {
broadcast("text", "sendMessage", 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 + " *Please Reach out @teleservices_support with Error Screenshot.*");
}
} else {
var notAdminText = "โ ๏ธ You're not the admin of " + botLink + ".";
Api.sendMessage({
text: notAdminText,
parse_mode: "html"
});
}