title: Error handling Telegram bot
body: <p>I am trying to avoid a telegram error. This error occurs when a message is not modified:</p>
  
  <pre><code>telegram.error.BadRequest: Message is not modified
  </code></pre>
  
  <p>I would like to make a function to print a message when this error occurs instead the original error message telegram prints. I have tried something like this but does not work:</p>
  
  <pre><code>def error_callback(bot, update, error):
      try:
          raise error
      except BadRequest:
          # handle malformed requests - read more below!
          print('Same message')
  </code></pre>