title: Sending locally hosted photo on telegram bot
body: <p>I'm using api.telegram.bot and <code>requests</code> to send messages and images.</p>
  
  <pre><code>requests.get(url + 'sendMessage', params=dict(chat_id=send_to_user_id,text="Messo"))
  </code></pre>
  
  <p>This is working fine. My telegram user is able to receive the message "Messo".</p>
  
  <p>Now, I'm trying to use sendPhoto to send an image that I have hosted on my local drive.</p>
  
  <pre><code>path = "kings/test_screenie1.png"
  requests.get(url + 'sendPhoto', params=dict(chat_id=send_to_user_id, photo=open(path,'rb')))
  </code></pre>
  
  <p>I do not get any exceptions, however, my user is not receiving the image. The output I get in Jupyter notebook is: <code>&lt;Response [414]&gt;
  </code></p>
  
  <p>My .ipynb file, where this code is running, is located in: <code>/Users/abc/Desktop/webproject/play0.ipynb</code></p>
  
  <p>My image file is located in: <code>/Users/abc/Desktop/webproject/kings/test_screenie1.png</code></p>
  
  <p>I am running this on Mac OS.</p>