title: Twython - get the latest direct message
body: <p>I need to get the latest direct message from any user.</p>
  
  <p>What I already tried is:</p>
  
  <pre><code>#importing twython and creating session.....
  #api is the sessions name
  
  results = api.cursor(api.get_direct_messages)
  </code></pre>
  
  <p>but the api only allows 15 requests per 15 minutes and get_direct_messages uses all of them... So I can do <code>api.get_direct_messages</code> only once... </p>
  
  <p>So is there a way to get only the latest/newest direct message from any user? (And not using all of the 15 requests at once)?</p>
  
  <hr>
  
  <p><strong>Edit/Solution:</strong>
  It turned out that there is no real solution to this problem because in order to get the latest message you have to find out it's id via <strong>get_direct_messages()</strong> which I don't want to use.</p>