Answer the question
In order to leave comments, you need to log in
How to identify a user in Telegram bot?
I want to create an authorization in the bot:
for example, each employee will have his own password
, so that the bot asks for a password at the beginning and if the employee enters his correct password, then the bot identifies him as Ivanov Ivan Ivanovich
Answer the question
In order to leave comments, you need to log in
Use some kind of persistent storage that allows you to store data in key-value format (for example, a plain text file, JSON file, SQLite database) to store Telegram user IDs and passwords in it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question