File: api_credentials.md

package info (click to toggle)
telegram-desktop 5.7.2%2Bds-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 63,548 kB
  • sloc: cpp: 756,232; python: 4,383; ansic: 1,505; javascript: 1,366; sh: 884; makefile: 820; objc: 652; xml: 565
file content (13 lines) | stat: -rw-r--r-- 695 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
## Obtaining your API credentials

To build your version of Telegram Desktop you're required to provide your own **api_id** and **api_hash** for the Telegram API access.

How to obtain your **api_id** and **api_hash** is described here: [https://core.telegram.org/api/obtaining_api_id](https://core.telegram.org/api/obtaining_api_id)

If you're building the application not for deployment, but only for test purposes you can use TEST ONLY credentials, which are very limited by the Telegram API server:

**api_id**: 17349
**api_hash**: 344583e45741c457fe1862106095a5eb

Your users will start getting internal server errors on login if you deploy an app using those **api_id** and **api_hash**.