We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 739e218 commit d1516f6Copy full SHA for d1516f6
telegram/__init__.py
@@ -53,6 +53,9 @@
53
54
def Updater(*args, **kwargs):
55
"""Load the updater module on invocation and return an Updater instance."""
56
+ import warnings
57
+ warnings.warn("telegram.Updater is being deprecated, please use "
58
+ "telegram.ext.Updater from now on.")
59
from .ext.updater import Updater as Up
60
return Up(*args, **kwargs)
61
0 commit comments