Skip to content
Tiny django app for easier telegram bot creation
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bot_adapter
.gitignore
LICENSE
MANIFEST.in
README.md
requirements.txt
setup.py

README.md

django-python-telegram-bot-adapter

  1. Install django-python-telegram-bot-adapter
    pip install django-python-telegram-bot-adapter
    
  2. Add bot_adapter to your INSTALLED_APPS setting
    INSTALLED_APPS = [
        ...
        'bot_adapter.apps.BotConfig',
    ]
  3. Include URLconf in your project urls.py
    path('/', include('bot_adapter.urls')),
  4. Not you can create telegram bots
    bot = Bot(TOKEN)
    bot.register(...)
    BotConfig.registry.add_bot(TOKEN, bot)
You can’t perform that action at this time.