📝 Description

A simple bot for user authentication via token in the system. The bot is designed to notify users about status changes of links (blocking, unblocking, replacement, and other informational notifications).


🤖 Bots


📦 Features


🛠 How to Run the Bot

poetry run python telegram/bot.py

⚙️ How It Works

  1. User sends /start to the bot.
  2. Bot requests an authorization key.
  3. If the key matches TELEGRAM_BOT_AUTH_KEY, user info is saved to database.
  4. Bot responds with a success or failure message.

✅ Example Session

User: /start  
Bot: 💡 For authorization, please enter the authorization key:  
User: my-secret-key  
Bot: ✅ Successfully authorized.  
     🚀 Welcome, John!

📘 Additional Resources