DEV Community

ILIA CHERKASOV
ILIA CHERKASOV

Posted on

I built a Telegram Booking Bot in Python — here's how it works

I recently built a fully functional Telegram appointment booking bot in Python and wanted to share how it works.

What it does

Perfect for barbershops, salons, doctors, tutors — any service business:

  • 📅 Browse services with prices & duration
  • 🗓 Choose date from next 7 working days
  • ⏰ Pick available time slots (booked slots hidden automatically)
  • ✅ Booking confirmation with full summary
  • 🔧 Admin panel with daily schedule
  • 🔔 Instant admin notifications on every booking
  • ❌ Cancel bookings
  • 💾 No database needed — simple JSON file

Tech stack

  • Python 3.10+
  • python-telegram-bot v20 (async)
  • JSON for storage

Setup takes 5 minutes

  1. Create bot via @botfather
  2. Add token to .env file
  3. pip install -r requirements.txt
  4. python bot.py

Get the source code

Full source code available here:
👉 https://cherkasov1.gumroad.com/l/telegram-booking-bot

Happy to answer any questions in the comments!

Top comments (1)

Collapse
 
pythonbotdev profile image
ILIA CHERKASOV

Feel free to ask questions about the setup —
happy to help in the comments!