# Optional: Send a request to your main server API # requests.post("https://ukussa-server.internal/api/telegram/hook", json=...)
ssh root@your-server-ip apt update && apt upgrade -y apt install python3-pip nginx -y mkdir /var/telegram-ukussa-bot cd /var/telegram-ukussa-bot Create bot.py with the following logic—specifically designed to handle the CONTACT shared type. Telegram- Contact -ukussa-server-bot
# Run the bot on the server (polling method for simplicity) print("ukussa-server-bot is running...") app.run_polling() if == " main ": main() Step 3: Running as a Persistent Service To ensure ukussa-server-bot never dies, create a systemd service. # Optional: Send a request to your main