Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How Can I get my app id in Telegram API?

Tags:

java

api

telegram

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:

  1. I made my own register.saveDeveloperInfo implemmentation in Java.
  2. I call the method with the corrects params (https://core.telegram.org/api/obtaining_api_id)
  3. The method returns a true boolean but I have not received the sms with my app_id.
  4. 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?

like image 637
adpoy Avatar asked Feb 19 '14 11:02

adpoy


People also ask

How can I create Telegram ID?

Step 1: Download the Telegram App. Step 2: After downloading, open the Telegram App. Step 3: Now you need to sign up, tap on Start Messaging button. Step 4: Next, Choose your country and enter the Phone number, which you want to register for your Telegram account.

What is Telegram ID?

On Telegram, you've got your Telegram ID, and then you've got your Telegram user ID. The former is the name that you chose. To change your Telegram ID, go to the hamburger menu (three horizontal lines) and then go to Settings. The same goes on your mobile app, go to the hamburger menu, then go to Settings.


2 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.

like image 172
brain56 Avatar answered Sep 27 '22 20:09

brain56


If you are asked a password and Telegram didn't send it to you, try to provide the mobile phone number without "+".

like image 36
Alexander Suslov Avatar answered Sep 27 '22 19:09

Alexander Suslov