Command line based, bare-bones client for Telegram
- OCaml 4.07+
- Dune 1.x
- TDLib
- Readline
Check missing dependencies using:
dune external-lib-deps --missing @all
and install them, then:
dune build @all
- Get
api_id
andapi_hash
from https://my.telegram.org/auth - Export the following environment variables:
TG_API_ID
TG_API_HASH
TG_DB_KEY
: encryption key for TDLib to encrypt local data
- Run
./_build/default/main.exe