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.
使用手機(jī)登錄Telegram的任意客戶端(需要梯子)點(diǎn)擊auth
Log In
輸入手機(jī)號(hào)以后袜瞬,點(diǎn)擊Next绍载,剛才登錄的客戶端就會(huì)收到一個(gè)消息诫龙,填寫Confirmation code 點(diǎn)擊 Sign In庭猩。
Confirmation code
Sign In
最后會(huì)得到你想要的apidId和apiHash厢蒜,界面名稱App configuration
App configuration