diff --git a/examples/clibot.py b/examples/clibot.py index 675ff238c..65c4b61a9 100644 --- a/examples/clibot.py +++ b/examples/clibot.py @@ -18,8 +18,8 @@ Reply to last chat from the command line by typing "/reply " Type 'stop' on the command line to stop the bot. """ -from telegram import Updater -from telegram.dispatcher import run_async +from telegram.ext import Updater +from telegram.ext.dispatcher import run_async from time import sleep import logging diff --git a/examples/echobot2.py b/examples/echobot2.py index 4d29d45af..2a4f57fce 100644 --- a/examples/echobot2.py +++ b/examples/echobot2.py @@ -17,7 +17,7 @@ Press Ctrl-C on the command line or send a signal to the process to stop the bot. """ -from telegram import Updater +from telegram.ext import Updater import logging # Enable logging diff --git a/examples/inlinebot.py b/examples/inlinebot.py index f7bce001a..9df1bd3bc 100644 --- a/examples/inlinebot.py +++ b/examples/inlinebot.py @@ -20,7 +20,8 @@ from random import getrandbits import re -from telegram import Updater, Update, InlineQueryResultArticle, ParseMode +from telegram import InlineQueryResultArticle, ParseMode +from telegram.ext import Updater import logging # Enable logging diff --git a/examples/timerbot.py b/examples/timerbot.py index 8d28ae592..d6fef455f 100644 --- a/examples/timerbot.py +++ b/examples/timerbot.py @@ -18,7 +18,7 @@ Press Ctrl-C on the command line or send a signal to the process to stop the bot. """ -from telegram import Updater +from telegram.ext import Updater import logging # Enable logging