Error while integrating bot with telegram

I am trying to integrate chatbot with telgram,but i am getting below error:

Traceback (most recent call last): File “/Users/rk185288/eclipse-workspace/chatbot101/faq_bot/telegram/”, line 6, in from rasa.core.agent import Agent File “/opt/anaconda3/envs/rasa_env/lib/python3.6/site-packages/rasa/core/”, line 16, in from import ( File “/opt/anaconda3/envs/rasa_env/lib/python3.6/site-packages/rasa/core/channels/”, line 25, in from rasa.core.channels.telegram import TelegramInput # nopep8 File “/opt/anaconda3/envs/rasa_env/lib/python3.6/site-packages/rasa/core/channels/”, line 4, in from telegram import ( ImportError: cannot import name ‘Bot’

Below rasa library i am using

  • rasa 1.1.4
  • rasa-core 0.14.5
  • rasa-core-sdk 0.14.0
  • rasa-nlu 0.15.1
  • rasa-sdk 1.1.0

Here is my code:

interpreter = RasaNLUInterpreter(’./model/nlu/faq’) action_endpoint = EndpointConfig(url=“http://localhost:5005/webhook”) agent = Agent.load(’./model/dialogue’, interpreter=interpreter,action_endpoint=action_endpoint) telegram=TelegramInput(access_token=‘XXXXXX’,verify=‘kripky_bot’ ,webhook_url=‘’) agent.handle_channels([telegram])

What is the output of pip list | grep telegram?

python-telegram-bot 11.1.0