ilhamap commited on
Commit
09fab77
·
verified ·
1 Parent(s): d58acb9

Update app/main.py

Browse files
Files changed (1) hide show
  1. app/main.py +1 -1
app/main.py CHANGED
@@ -80,7 +80,7 @@ def image_handler(update, context):
80
  def main():
81
  print("Started")
82
  TOKEN = f"api_tele"
83
- updater = Updater(TOKEN, use_context = True)
84
  dp = updater.dispatcher
85
  dp.add_handler(CommandHandler("start", start_command))
86
  dp.add_handler(MessageHandler(Filters.text | Filters.photo | Filters.audio | Filters.voice, image_handler))
 
80
  def main():
81
  print("Started")
82
  TOKEN = f"api_tele"
83
+ updater = Updater(TOKEN)
84
  dp = updater.dispatcher
85
  dp.add_handler(CommandHandler("start", start_command))
86
  dp.add_handler(MessageHandler(Filters.text | Filters.photo | Filters.audio | Filters.voice, image_handler))