Getting started
Custom Telegram application
Override Teldrive's built-in public Telegram app credentials.
Most installations should use the built-in credentials. Configure this only if you intentionally want your own api_id and api_hash.
Create credentials
- Open
https://my.telegram.org. - Sign in.
- Open API development tools.
- Create an application.
- Copy
api_idandapi_hash.
Keep the API hash private.
Configure
Environment:
TELDRIVE_TELEGRAM_APP_ID=12345678
TELDRIVE_TELEGRAM_APP_HASH=0123456789abcdef0123456789abcdefYAML:
telegram:
app-id: 12345678
app-hash: 0123456789abcdef0123456789abcdefTOML:
[telegram]
app-id = 12345678
app-hash = "0123456789abcdef0123456789abcdef"For proxy, retry, rate-limit, and filesystem-backend settings, see Telegram settings.