This is a full example code for running a user bot with TDlight. Basically the only things you have to change in order to get it running are the APP ID, Hash (Change this in the "Static_config" files)
If you want to build a "standard bot account" bot check out: https://github.com/jonasx10j/TDlight-java-bot-example_with-explanation
A fully functional minimal commented example of running an user bot with TDlight.