This project is a Telegram bot that analyzes the PINFL (Personal Identification Number for Individual Taxpayer) entered by the user and reports its validity, as well as its birth date, region code, and other parameters.
PINFL (PINFL) is a unique identification number used in several countries to identify citizens. This project is intended for processing and analyzing PINFL to ensure its correctness and provide information about the birth date and other data contained in this number.
-
Navigate to the project directory.
-
Copy
.env.example
to.env
. -
Update all values in
.env
. -
docker build -t pinfl_bot .
-
docker run -d pinfl_bot
-
The bot pre-checks the entered text for the presence of only digits and a length of at least 14 characters. If the entered text does not meet these criteria, the bot will send a message with the corresponding warning.
-
If the entered PINFL is shorter than 14 characters, the missing characters will be filled with zeros before analysis.