我怎样才能在电报API我的应用程序ID? [英] How Can I get my app id in Telegram API?
问题描述
我试图通过使用方法 register.saveDeveloperInfo
得到电报API我的应用程序ID,但我找不到这样做的方式。
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.
我使用的是德MTProto Java库。
I'm using de MTProto Java library.
这是我所到现在完成的:
This is what I had done by now:
- 我在Java中做了我自己
register.saveDeveloperInfo
implemmentation。 - 我调用该方法与PARAMS进行校正(<一个href=\"https://core.telegram.org/api/obtaining_api_id\">https://core.telegram.org/api/obtaining_api_id)
- 该方法返回一个真正的布尔值,但我还没有与我APP_ID收到短信。
- 当我在电报网的我的应用程序部分输入( https://core.telegram.org/myapp </A>)所示您的应用程序还没有准备好的消息。
- 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.
无论如何,我试图使用从官方客户端的源$ C $ c中的APP_ID但我不能发送或接收消息。
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?
推荐答案
您可以从让您的应用api_id和应用api_hash您电报应用页面。这是你会使用什么写这篇文章的。如果你问一个密码,提供您将使用开发的手机号码和报文将发送给您的密码。
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.
这篇关于我怎样才能在电报API我的应用程序ID?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!