How to get Telegram Bot statistics?
Asked Answered
C

4

7

Does exists any way to get bot's statistics with API or with web interface or with BotFather? Or I must to collect statistics by processing updates from bot API?

ps. Currently I store statistics in Redis by processing updates from bot API, but I wish find better way.

Cushy answered 17/11, 2016 at 10:12 Comment(0)
B
5

As aleix said there is no official support. After several days of research I've found the solutions for all platform bots, including telegram:

Bull answered 30/1, 2018 at 11:45 Comment(1)
Upon trying to set up a bot, it seems Dashbot doesn't have an option to use Telegram.Ruskin
G
2

no, there is no official support from Telegram to do that. There are third party analytics like botan, you can get navigate via bot to your bots stats:

Gabor answered 18/11, 2016 at 17:11 Comment(0)
A
0

If it is your bot performance that you worry about and you bot is popular (~300 requests per min), Botfather will monitor the request/response rate and alert you if there is something wrong.

Check the Status alert section in Bot Intro.

Agentival answered 16/3, 2018 at 12:20 Comment(0)
B
-1

no actually you cant! But the easiest way for getting statistics about the users is to save the chat_id to database or into simple txt file.

the best way for that is use php mysql function to insert each chat_id into 1 columns then send it to your chat_id ...!

Burkhard answered 1/12, 2016 at 8:23 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.