I managed to compile Telegram command line client for the N900. Some libs in Fremantle are outdated so I had to make some changes in the code and use gcc 4.8 in order to compile it. Here you can download binaries and modified source code. Next step: try to make a GUI.