kenorb-contrib / tg

`telegram-cli` for Telegram IM
https://github.com/telegramdesktop/tdesktop
GNU General Public License v2.0
382 stars 52 forks source link

Error with mark_read #24

Open Bettehem opened 3 years ago

Bettehem commented 3 years ago

Hello, I have been experiencing problems with telegram-cli when trying to mark group chats as read. This normally starts happening after telegram-cli has been open for a few minutes. It doesn't happen immediately after launch.

After I run mark_read <group_name> I get an error:

FAIL: 71: RPC_CALL_FAIL 400: CHANNEL_INVALID

I haven't been able to figure out what this means, but I found that if i run dialog_list and then try to run mark_read <group> it works.

OS: Arch Linux Kernel: tested with 5.7.4, 5.7.5, 5.7.6 and 5.7.7 Telegram-cli version: 1.4.1 (uses tgl version 2.1.0)

Paulchen232 commented 3 years ago

Use the argument -W

Bettehem commented 3 years ago

I have been using the -W argument for a long time already but it doesn't solve the issue.

Paulchen232 commented 3 years ago

Ok, but with Raspberry Pi OS (previously called Raspbian) cam's this error never.