Telegram-cli stoped working

I am (I was) a fan of the telegram command line client, telegram-cli. It is very handy to send short messages or pipe mail content into it (automatically) and such things. Since some days, it stopped working:

$ apt info telegram-cli
Package: telegram-cli
Version: 1.3.1+git20160323.6547c0b21-2
Priority: optional
Section: net
Maintainer: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Installed-Size: 416 kB
...
$ telegram-cli -q -v -v -v
Telegram-cli version 1.4.1, Copyright (C) 2013-2015 Vitaly Valtman
Telegram-cli comes with ABSOLUTELY NO WARRANTY; for details type `show_license'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show_license' for details.
Telegram-cli uses libtgl version 2.1.0
I: config dir=[/home/purism/.telegram-cli]
...
phone number: +49176xxxxxxxxx
 *** 1696232146.184462 Sent query #7285261591167882240 of size 196 to DC 2
 *** 1696232146.285843 update 0x382dd3e4 (check=0)
 *** 1696232146.286037 Notification API_64BIT_LOGIN_APP_OUTDATED_46: You are using an outdated app that is no longer supported. To access your messages, please update your app to the latest version. If you don’t know how to update your app, go to https://telegram.org/dl
 *** 1696232146.286587 error for query 'send code' #7285261591167882240: #400 UPDATE_APP_TO_LOGIN
 *** 1696232146.286701 Incorrect phone number
phone number:

Any chance for another cli client?

GitHub - gotd/td: Telegram client, in Go. (MTProto API) seems to be actively maintained.

Thanks. This looks more like an API implementation and on top of it you could write your own tg client (or even bot) in go. I don’t speak go.

1 Like