A small python CLI telegram client
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dfstorm 30d82aecb6 for.. 2 years ago
logs . 2 years ago
src . 2 years ago
LICENSE Initial commit 2 years ago
README.md for.. 2 years ago



A small python CLI telegram client. Please note that this application was a "test" and is not intended to be used other than for testing purpose.

The app only retrieve message recived while active and keep them in logs files (./logs/).


libtdjson.so (1.6.6)

The script will look for the telegram library at "./libtdjson.so". You may either download it from my website (https://ggenois.dev/pub/libtdjson.so (1.6.6, 64bit Fedora Machine)) or build it by folowing those instructions: https://github.com/tdlib/td#building

API Keys

I do not provide API credentials; you must provide your own.

To get one, create a Telegram App via https://my.telegram.org/apps and then fill "iApiID" (line 14) with your "App api_id" and "sApiHash" (Line 15) with "App api_hash:".


While no user is logged in, the app is in "Authentification mode". Once logged in, you get into an interactive console with those commands:


exit the application without loging out.


Actualise Chats List.


Update Personnals informartions


List Available chat room(s)


List Known users of this instance.


Join (set active) a chat room by it's index. Use "listChatRoom" to get rooms indexes.


Send a message into the active room.


Logout then quit the app.