Contact -ukussa-server-bot - Telegram-

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.

systemctl enable ukussa-bot.service systemctl start ukussa-bot.service Because the keyword implies a server-based bot, monitoring is crucial. You can link ukussa to Grafana or simply tail the log:

# 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. Telegram- Contact -ukussa-server-bot

[Unit] Description=Telegram Contact Bot for Ukussa Server After=network.target [Service] User=root WorkingDirectory=/var/telegram-ukussa-bot ExecStart=/usr/bin/python3 /var/telegram-ukussa-bot/bot.py Restart=always

async def handle_contact(update: Update, context: ContextTypes.DEFAULT_TYPE): contact = update.message.contact user_id = update.effective_user.id phone = contact.phone_number first_name = contact.first_name last_name = contact.last_name or "" ssh root@your-server-ip apt update && apt upgrade -y

By deploying your own version of this bot on a dedicated server (codenamed whatever you like—"ukussa" or otherwise), you gain control over one of the most valuable assets in digital communication: verified, real-time user contacts. Combine Telegram’s reach with your server’s power, and you have a contact management system that operates at the speed of instant messaging.

[Install] WantedBy=multi-user.target

Enable and start: