J
J
Johnnik2017-03-09 15:29:31
Python
Johnnik, 2017-03-09 15:29:31

User authorization in telebot'e?

Good day.
Please tell me how to implement a simple user authorization in a telegram bot?
Something like:
-/auth
-Enter password:
-Enter from a regular keyboard or embeddable keyboard.
- the user is recorded in a file
Already broke his whole head and Google shoveled :(

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xdgadd, 2017-03-10
@xdgadd

Use a database to store states and information about users. For small projects, sqlite comes with python.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question