Warm tip: This article is reproduced from serverfault.com, please click

How many people use my telegram bot?

发布于 2017-09-02 02:36:10

I created a bot

@WeatherPlusbot

How do I know how many people use it?

Is there a way or "place" where you can count how many people have "installed" or currently use my bot?

Thank you.

Questioner
andrea
Viewed
0
91DarioDev 2017-09-02 17:52:46

Unfortunately telegram doesn't provide such info. You should log the ID of any user, using your bot.

A simple solution could be to create a database with the user ID primary key, the registration timestamp and the last usage timestamp.

I use this kind of way so you have more rich statistics knowing the total users, the active users in the last day, week, how many users are registering lately etc