"Fossies" - the Fresh Open Source Software Archive

Member "tdesktop-2.6.1/docs/api_credentials.md" (24 Feb 2021, 695 Bytes) of package /linux/misc/tdesktop-2.6.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

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

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.