DEV Community

ILIA CHERKASOV
ILIA CHERKASOV

Posted on

I built a Telegram Broadcast Bot in Python — send messages to all subscribers instantly

I built a mass messaging bot for Telegram in Python. Business owners can send updates, promotions, and news to ALL subscribers with one click!

What it does

Perfect for shops, restaurants, bloggers, gyms:

  • 📢 One-click subscribe / unsubscribe for users
  • 📨 Broadcast text, photos, videos, documents
  • 📊 Delivery stats (sent / failed / success rate)
  • 👥 Subscriber list with usernames
  • 📋 Broadcast history
  • 🔔 Admin notified on every new subscriber
  • 💾 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

👉 https://cherkasov1.gumroad.com/l/telegram-broadcast-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!