H
H
Haaaaz2022-03-10 13:15:40
Telegram
Haaaaz, 2022-03-10 13:15:40

Can a bot owner see who has used the bot?

Let's say I made a bot. Will I be able to see who is using this bot and how?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
V
Vladimir Korotenko, 2022-03-10
@firedragon

add this and write to the ip base, tot look in the docks, there you can display the username and see the profile
https://github.com/hmarsolla/telegram-bot-get-ip

M
Michael, 2022-03-10
@Akela_wolf

If you add the appropriate functions to the bot (at least logging interactions with it), then yes, you can.

S
SamSatt, 2022-03-10
@SamSatt

yes, knsh. Although depending on what you want to know, you can also find out ip

A
Antonio, 2022-03-10
@Apokaliepsis

When receiving messages, an Update object is sent to the bot, from where you can get the following information:
-chatId;
-username;
-firstName;
-lastname;
-codeLanguage, etc.

B
bukaska19, 2022-03-10
@bukaska19

You can make a database, and write down everyone who wrote / start there

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question