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

Export single chat history #22

Open arteteco opened 4 years ago

arteteco commented 4 years ago

Hello there, with telegram desktop 2.10 there's the option to export a single chat history, which I reckon could be really useful to automate with a cron job or something. Is there support for it in this CLI version too? Any plan to integrate it?

Thanks!

NettoHikari commented 3 years ago

Came here to create an issue for exactly that. +1 on this feature request. You're asking for single chat export. Is chat export possible on telegram-cli at all?

arteteco commented 3 years ago

@NettoHikari AFAIK it's not possible atm

ladris commented 3 years ago

Closest I have ever seen with CLI is an old tool called ruby-telegram-dump. You start telegram-cli in a specific mode with json output and call the ruby script as a hook-in that parses the targets