title: How do i send mp3 file with python using telegram bot
body: <p>How can I send an MP3 audio file to a Telegram Bot using the open-source Python library <a href="http://docs.python-requests.org/en/master/" rel="nofollow noreferrer">Requests</a>?</p>
  
  <p>I wrote the following code:</p>
  
  <pre><code>URL = 'api.telegram.org/bot'+TOKEN+'/sendAudio'
  af = open("temp.mp3", 'rb')
  params = {'chat_id' : 421087308, 'audio' : af}
  req = requests.post(URL, params)
  af.close()
  </code></pre>