I'm attempting to create a small program that can demonstrate some features of the Telegram API. I wish to be able to register and authenticate users via SMS. According to the user authorization guide, I need to invoke the auth.sendCode
RPC. However, the codebase is inadequately documented and is proving hard to get into.
How do I send the auth.sendCode
remote procedure call in Telegram? Please provide a code snippet which shows everything starting from set up and initialization.