How to get Telegram Bot statistics?

Is there a way to get bot statistics with an API or with a web interface or with BotFather? Or should I collect statistics while processing updates from the bot API?

ps. I currently store statistics in Redis, processing updates from the bot API, but I want to find a better way.

+4
source share
4 answers

No, there is no official support from Telegram for this. There are third-party analytics such as nerds, you can go through the bot to your bot statistics:

+2

aleix , . , , :

+1

, ! - chat_id txt.

- php mysql chat_id 1 , chat_id...!

0

If this is your bot performance that you are worried about and your bot is popular (~ 300 requests per minute), Botfather will monitor the speed of the request / response and warn you if something is wrong.

Check the Status Warning Section in the Bot Box .

0
source

Source: https://habr.com/ru/post/1661037/


All Articles