title: Node Red and telegram bot error
body: <p>Firstly I want to say I am a novice to programming. But I want to learn. I do know logic and want to make things for myself using Node Red for IoT. </p>
  
  <p>I was trying to figure out how do send messages to and from telegram through node red. So that once I can do that I can connect other devices that can listen to my messaged from telegram and be controlled via node red and vice-versa. </p>
  
  <p>Here's what I have already done so far. </p>
  
  <p><strong>1.</strong> Installed both of the following modules in Node red 
  TelegramBot and Redbot(chatbot) via NPM and for this example I am using Redbot to send my message. </p>
  
  <p><strong>2.</strong> Setup a telegram bot successfully and got my API key for the bot</p>
  
  <p><strong>3.</strong> Got my API key and ChatID (which was really a Pita BTW)</p>
  
  <p><strong>4</strong> I followed guide - <a href="https://www.npmjs.com/package/node-red-contrib-chatbot" rel="nofollow noreferrer">https://www.npmjs.com/package/node-red-contrib-chatbot</a> to setup my Node Red Flow. the basic flow which looks like this. <a href="https://i.stack.imgur.com/dcZ7l.png" rel="nofollow noreferrer">NodeRed Flow</a></p>
  
  <p>But my problem is when I send anything from my Telegram bot, NodeRed pick up something as I see the "Debug tab" updating. But it only says </p>
  
  <p>"msg : string [44]Unable to find context().global in Node-RED"
  When I click the error it takes me back to the instance of Telegram I setup already. </p>
  
  <p>I know I am doing something wrong here but what is that I am just not sure. Can someone help. I am sure I am missing something very simple. </p>