Hi! Telegram API beginner here! I'm developing a PhoneGap app that features a messaging service using the Telegram API.
I'm currently following the API guide and I'm now reading the getting started guide for authentication. However, I find that it is currently insufficient and not Jimmy Proof.
How does one create a Telegram API instance in one's own app? After initialization how does one authenticate a user? From the link provided, this can be done with the auth.sendCode
method. But to what class does this method belong to?