title: how to send a local file in bale bot to a client?
body: <p>I've tried some code but I was not successful to send a file message with my bot. After upload my file I'm not able to get file_id and access_hash and other from the server to send it.
  It's my code:</p>
  
  <pre><code>@dispatcher.message_handler(PhotoFilter())
  def ask_photo(bot, update):
      user_peer = update.get_effective_user()
      bot.upload_file(file="../files/upload_file_test.jpeg", 
          file_type="file", 
          success_callback=file_upload_success,failure_callback=failure)   
  
  
  def file_upload_success(response):
      photo_message = PhotoMessage(file_id=response.file_id,  
          access_hash=response.access_hash, name="photo", file_size="100",
          mime_type="image/jpeg", thumb=response.thumb, width=80, height=80,
          caption_text="caption")
      bot.send_message(photo_message, user_peer)
  </code></pre>
  
  <p>It doesn't work! :( 
   any help? </p>