The recent launch of a new app store on Telegram has made it possible to view the number of users associated with each bot. Is there a method through the Telegram API to obtain the user count for a specific bot? Additionally, I am unable to locate documentation or information regarding how this user count is determined.
Another approach could be to use Telegram Analytics tools if your bot channel is linked to a public group or channel on Telegram. Third-party analytics tools like Combot or TGStat provide detailed statistics, including user count and engagement metrics for channels and groups, though not specifically for bots. These can at least offer insights into group dynamics if your bot is used in these contexts. Additionally, consider encouraging users to join a linked Telegram group where engagement can be more easily tracked through these analytics tools.
From my own experience with Telegram bots and APIs, you can’t directly get a user count for a specific bot from the Telegram API. The bot doesn’t have access to personal data or stats about individual users or overall user counts due to privacy policies. A workaround is to keep track internally by updating your bot’s database with unique user IDs whenever a user interacts with the bot. This method isn’t perfect but can give you a rough estimate of your active user base.