-
install typescript globally
npm i -g typescript -
build and install tdLib using the build instructions generator: https://github.com/tdlib/td#building
-
create a new app in the telegram system, getting an api ID and hash: https://my.telegram.org/
this project uses prettier to automatically format source code during commit. it also uses typescript for safe typing.