diff --git a/django_telegrambot/views.py b/django_telegrambot/views.py index a01c58e..d49f168 100644 --- a/django_telegrambot/views.py +++ b/django_telegrambot/views.py @@ -37,7 +37,7 @@ def webhook (request, bot_token): return JsonResponse({}) try: - update = telegram.Update.de_json(data) + update = telegram.Update.de_json(data, bot) dispatcher.process_update(update) logger.debug('Bot <{}> : Processed update {}'.format(bot.username, update)) # Dispatch any errors