diff --git a/README.rst b/README.rst index 859316d..1a1e0c2 100644 --- a/README.rst +++ b/README.rst @@ -56,6 +56,7 @@ Include in your urls.py the ``django_telegrambot.urls`` using the same value of Then use it in a project creating a module ``telegrambot.py`` in your app :: #myapp/telegrambot.py + from telegram.ext import CommandHandler, MessageHandler, Filters from django_telegrambot.apps import DjangoTelegramBot # Define a few command handlers. These usually take the two arguments bot and diff --git a/example/telegrambot.py b/example/telegrambot.py index dd33a60..a44a99b 100644 --- a/example/telegrambot.py +++ b/example/telegrambot.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # Example code for telegrambot.py module +from telegram.ext import CommandHandler, MessageHandler, Filters from django_telegrambot.apps import DjangoTelegramBot import logging