How can I get my application identifier in the Telegram API?

I am trying to get my application id from the Telegram API using the register.saveDeveloperInfo method, but I cannot find a way to do this.

I am using the MTProto Java library.

This is what I did now:

In any case, I am trying to use app_id from the source code of the official client, but I can not send or receive a message.

Does anyone know how to do this or where can I find more information?

+6
source share
2 answers

You can get your api_id app and api_hash app from the page of your Telegram application . This is what you will be using at the time of this writing. If you have a password, specify the mobile phone number that you will use for development, and Telegram will send you a password.

+3
source

If you were given a password, and Telegram did not send it to you, try to enter a mobile phone number without a "+".

+1
source

All Articles