Telegram is a cloud-based mobile and desktop messaging app that allows users to send each other messages, photos, videos, and files of any type (doc, zip, mp3, etc.). Telegram’s end-to-end encryption ensures that all messages are secured so that they can only be read by the intended recipient(s). Telegram also has a feature called “Secret Chat” which allows users to set an expiration timer for all messages sent within the chat. When the timer runs out, the message will automatically disappear.
Telegram is a messaging app that allows users to send messages and files of all types to people who are connected to their phone contacts. Telegram messages are encrypted, allowing them to be used for secure communication. Users can broadcast messages to a large number of contacts at once, making it a popular choice for companies and organizations looking to communicate with a large number of people.
We have created many telegram bots like some URL shortener telegram bot. Instagram info finder. Like many, you must have got some idea or question that why we should create telegram boat, what is our advantage, why hub should provide free to everyone while we do not get anything. So read this article to see the answer to this question.
How To Earn Money With Telegram Bot.
Like you public, we have YouTube and our website technostone.xyz, which you have to make Telegram bot. So today we will talk about its benefits. Like you can earn money from it. earn money from telegram bot
Yes, you read it right, you can earn Telegram bot, that too easily by doing Telegram bot which you have told in many articles.
We can earn money from Telegram bot in two ways.
Method 1
Add Channel For Use Bot
Method 2
Send Broadcast Message
How to create a broadcast message on telegram
Command 1
var fullBotUsers = Bot.getProperty("wholeUsers",[])
var already = User.getProperty("already")
if (!already) {
User.setProperty("already", "DONE", "string")
fullBotUsers.push(user.telegramid)
Bot.setProperty("wholeUsers", fullBotUsers, "json")
}
Command 2
if(user.telegramid == 1095232231){
var fullBotUsers = Bot.getProperty("wholeUsers")
var usrname = "@" + user.username
Bot.sendMessage("Starting Broadcast....")
if (!user.username) {
var usrname =
'' + user.first_name + ""
}
//POLL
if (request.poll) {
for (var index in fullBotUsers) {
var info = fullBotUsers[index]
Api.sendMessage({
chat_id: info,
text: "Poll Broadcast By " + usrname + ""
})
Api.forwardMessage({
chat_id: info,
from_chat_id: user.telegramid,
message_id: request.message_id
})
}
return
}
//END
//VOICE
if (request.voice) {
for (var index in fullBotUsers) {
var info = fullBotUsers[index]
Api.sendMessage({
chat_id: info,
text: "Voice Broadcast By " + usrname + ""
})
if (!request.caption) {
Api.sendVoice({ chat_id: info, voice: request.voice.file_id })
}
if (request.caption) {
Api.sendVoice({
chat_id: info,
voice: request.voice.file_id,
caption: request.caption,
parse_mode: "HTML"
})
}
}
return
}
//END
//VIDEO
if (request.video) {
for (var index in fullBotUsers) {
var info = fullBotUsers[index]
Api.sendMessage({
chat_id: info,
text: "Video Broadcast By " + usrname + ""
})
if (!request.caption) {
Api.sendVideo({ chat_id: info, video: request.video.file_id })
}
if (request.caption) {
Api.sendVideo({
chat_id: info,
video: request.video.file_id,
caption: request.caption,
parse_mode: "HTML"
})
}
}
return
}
//END
//FILE
if (request.document) {
for (var index in fullBotUsers) {
var info = fullBotUsers[index]
Api.sendMessage({
chat_id: info,
text: "File Broadcast By " + usrname + ""
})
if (!request.caption) {
Api.sendDocument({ chat_id: info, document: request.document.file_id })
}
if (request.caption) {
Api.sendDocument({
chat_id: info,
document: request.document.file_id,
caption: request.caption,
parse_mode: "HTML"
})
}
}
return
}
//END
//AUDIO
if (request.audio) {
for (var index in fullBotUsers) {
var info = fullBotUsers[index]
Api.sendMessage({
chat_id: info,
text: "Audio Broadcast By " + usrname + ""
})
if (!request.caption) {
Api.sendAudio({ chat_id: info, audio: request.audio.file_id })
}
if (request.caption) {
Api.sendAudio({
chat_id: info,
audio: request.audio.file_id,
caption: request.caption,
parse_mode: "HTML"
})
}
}
return
}
//PHOTO
if (request.photo[0]) {
for (var index in fullBotUsers) {
var info = fullBotUsers[index]
Api.sendMessage({
chat_id: info,
text: "Photo Broadcast By " + usrname + ""
})
if (!request.caption) {
Api.sendPhoto({ chat_id: info, photo: request.photo[0].file_id })
}
if (request.caption) {
Api.sendPhoto({
chat_id: info,
photo: request.photo[0].file_id,
caption: request.caption,
parse_mode: "HTML"
})
}
}
return
}
//END
//STICKER
if (request.sticker) {
for (var index in fullBotUsers) {
var info = fullBotUsers[index]
Api.sendMessage({
chat_id: info,
text: "Sticker Broadcast By " + usrname + ""
})
Api.sendSticker({ chat_id: info, sticker: request.sticker.file_id })
}
return
}
//END
var promo = "Normal"
if (request.entities[0]) {
if (request.entities[0].type == "url") {
var promo = "Promotional"
}
}
//ANIMATION
if (request.animation) {
for (var index in fullBotUsers) {
var info = fullBotUsers[index]
Api.sendMessage({
chat_id: info,
text: "Animation Broadcast By " + usrname + ""
})
Api.sendAnimation({ chat_id: info, animation: request.animation.file_id })
}
return
}
//END
if (message.length > 1000) {
Bot.sendMessage("Message Too Big.")
return
}
for (var index in fullBotUsers) {
var info = fullBotUsers[index]
Api.sendMessage({
chat_id: info,
text:
promo +
" Broadcast n———————————————————————
nn" + message + "nn———————————————————————
", parse_mode: "HTML" }) } Bot.sendMessage("✔Broadcast Sent") }else{ Bot.sendMessage("*🔰 You're Not An Admin*") }