title: Starting a Telegram API instance
body: <p><em>Hi! Telegram API beginner here!</em> I'm developing a PhoneGap app that features a messaging service using the Telegram API.</p>
  
  <p>I'm currently following the API guide and I'm now reading the getting started guide for <a href="https://core.telegram.org/api/auth">authentication</a>. However, I find that it is currently insufficient and not <a href="http://blog.codinghorror.com/new-programming-jargon/">Jimmy Proof</a>.</p>
  
  <p><strong>How does one create a Telegram API instance in one's  own app? After initialization how does one authenticate a user?</strong> From the link provided, this can be done with the <code>auth.sendCode</code> method. But to what class does this method belong to?</p>