7

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.

andrea
  • 396
  • 2
  • 12

2 Answers2

10

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

91DarioDev
  • 1,612
  • 1
  • 14
  • 31
3

You can't get this data from API at this time, you can log /start event to your own database, and count unique user send this command.

Sean Wei
  • 7,433
  • 1
  • 19
  • 39