Hello friends, welcome today to technostone.xyz, here you will find related articles of telegram and Telegram Subscriber Counter , how to make telegram bot. And how you use it, you will continue to get all this information here.
Today in this article we are going to tell you how to make a Telegram real-time subscriber counter bot. As you know we can create a channel on Telegram that too for free. We get all the hosting for free. We can host any kind of file on it, which means we can share any file without paying for hosting. Just as we can upload videos on YouTube and there are many other social media platforms in which we can upload file photos. You can share audio, video, but Telegram is different. In this, you get many advanced features. Like creating a channel. You can create a group. Either you can make a telegram bot.
You are reading this article. That means you will have good knowledge of Telegram. So by reading this article you can create a Telegram Live Subscriber Counter bot. That too easily. This Telegram bot will be hosted on our bots.business, if you do not know about bots.business then you can read the article below.
Create Telegram Bot Without Coding
How to Create Telegram Live Subscriber Counter Telegram Bot.
How To Host Telegram Bot In Bots.Business
How To Create Telegram Real-Time Subscriber Counter Telegram Bot
Command Name: /start
Answer: *📍 Enter Your Channel Or Group Username For Your Channel Or Group Details :*
Wait For Answer: True
BJS Code:
User.setProperty("ch",message,"string")
Api.getChatMembersCount({chat_id: message,on_result: "/subsh "})
Command Name: /subsh
BJS CODE:
if(!params){
User.setProperty("count",options.result,"integer")
var channel = User.getProperty("ch")
Api.getChat({
chat_id: ""+channel+"",
on_result: "/subsh done"
})
}
if(params){
var subs = User.getProperty("count")
var text = "*⚜️ Telegram Live Subscribers ⚜️*nn■ Name = *"+options.result.title+"*n■ "+options.result.type+" Username: *@"+options.result.username +"*n■ "+options.result.type+" Id: "+options.result.id+"n■ Subscribers = *"+subs+"*n■ Type = *"+options.result.type+"*n■ Description: *"+options.result.description+"*nn© Deatails By : *@"+bot.name+".*"
var pic = options.result.photo
if(pic==undefined){
Bot.sendMessage(text)}
else{
Api.sendPhoto({photo:"t.me/"+options.result.username , caption: text,parse_mode: "markdown"})
}
}
❤️ Source Code Credit: @ayushjaiswal1020
After copy-pasting all this code your entire live subscriber counter will be ready