自定义Telegram客户端——apiId和apiHash的申请

原文链接: Creating your Telegram Application

Obtaining api_id

In order to obtain an API id and develop your own application using the Telegram API you need to do the following:

  • Sign up for Telegram using any application.
  • Log in to your Telegram core: https://my.telegram.org.
  • Go to ‘API development tools’ and fill out the form.
  • You will get basic addresses as well as the api_id and api_hash parameters required for user authorization.
  • For the moment each number can only have one api_id connected to it.

We will be sending important developer notifications to the phone number that you use in this process, so please use an up-to-date number connected to your active Telegram account.


使用手机登录Telegram的任意客户端(需要梯子)点击auth

Log In

输入手机号以后,点击Next,刚才登录的客户端就会收到一个消息,填写Confirmation code 点击 Sign In。
Confirmation code

Sign In

最后会得到你想要的apidIdapiHash,界面名称App configuration
App configuration

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • PLEASE READ THE FOLLOWING APPLE DEVELOPER PROGRAM LICENSE...
    念念不忘的阅读 13,567评论 5 6
  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 7,490评论 0 10
  • 一、天下有经济学规律不起作用的事情吗? 据说美国小孩最先学到的三个词是:more mine no什么意思呢?m...
    才少说阅读 235评论 0 0
  • 我时常很困惑,参不透很多事情。我也很直脑筋,不拐弯磨脚,或许不愿或许没有那个转脑筋的能力。我很糊涂,也很纠结大事小...
    ZToothless阅读 666评论 0 1
  • 姐姐是一个乖巧又漂亮的女孩,和姐姐在一起我永远只是一片绿叶,我羡慕她的美丽与温和的性格,人见人爱的她一点不做作,她...
    无忧吴语阅读 237评论 0 0