[英]How Can I get my app id in Telegram API?
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.我正在尝试使用register.saveDeveloperInfo
方法从 Telegram API 获取我的应用程序 ID,但我找不到执行此操作的方法。
I'm using de MTProto Java library.我正在使用 de MTProto Java 库。
This is what I had done by now:这是我现在所做的:
register.saveDeveloperInfo
implemmentation in Java.我在 Java 中实现了自己的register.saveDeveloperInfo
实现。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.无论如何,我正在尝试使用官方客户端源代码中的app_id,但我无法发送或接收消息。
Does anyone know how to do it or where can I find more information?有谁知道该怎么做或我在哪里可以找到更多信息?
You can get your app api_id and app api_hash from your Telegram app page . 您可以从Telegram应用页面获取应用api_id和app api_hash。 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. 如果您被问到密码,请提供您将用于开发的手机号码,Telegram将向您发送密码。
如果系统要求您输入密码并且Telegram没有将密码发送给您,请尝试提供没有“+”的手机号码。
Try disabling any anti-spam software or VPN.尝试禁用任何反垃圾邮件软件或 VPN。 Disabling ABP for https://my.telegram.org/apps helped me为https://my.telegram.org/apps禁用 ABP 帮助了我
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.