I am trying to get my app id from Telegram API by using the method register.saveDeveloperInfo
, but I cannot find the way to do it.
I’m using de MTProto Java library.
This is what I had done by now:
- I made my own
register.saveDeveloperInfo
implemmentation in Java. - I call the method with the corrects params (https://core.telegram.org/api/obtaining_api_id)
- The method returns a true boolean but I have not received the sms with my app_id.
- When I enter in my app section of the telegram web (https://core.telegram.org/myapp) shows the “Your app is not ready yet” message.
Anyway, I’m trying to use the app_id from the source code of the official client but I can’t send or receive message.
Does anyone know how to do it or where can I find more information?
3
Answers
You can get your app api_id and app api_hash from your Telegram app page. This is what you’ll be using as of this writing. If you are asked a password, provide the mobile phone number you’ll be using to develop and Telegram will send you the password.
If you are asked a password and Telegram didn’t send it to you, try to provide the mobile phone number without “+”.
Try disabling any anti-spam software or VPN. Disabling ABP for https://my.telegram.org/apps helped me