I
I
Irina2019-05-24 15:32:38
Python
Irina, 2019-05-24 15:32:38

How to track telegram bot users?

Tell me, how do you track bot users? I'm interested in their actions and button presses. I assume that you will need a database to enter all user actions and with the help of it is already analytics. Perhaps you can recommend something else?
And I have not yet found an answer to the question, is it possible to find out which of the users has already deleted the bot?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey, 2019-05-24
@Allepta

As an option, use a subd, for example mysql, to store users accessing the bot. User IDs are taken from getupdates . Actually, everything that you get with api can be structured and written to the subd.
If the user stops the bot, then the bot is added to the user's blacklist.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question