Borg/pkg/telegram
google-labs-jules[bot] d8bbda85b5 feat: Telegram channel/group export
This commit introduces a new command, `borg collect telegram import`, which allows users to import and archive Telegram channel and group exports.

The new functionality includes:
- A new `telegram` subcommand under the `collect` command.
- An `import` command that parses Telegram Desktop JSON exports.
- Conversion of messages to Markdown, with support for rich text formatting, replies, and forwards.
- Preservation of media files, which are stored in a `media` subdirectory.
- Organization of messages into monthly Markdown files for easy navigation.
- Creation of an `INDEX.json` file to store the original export metadata.

The feature is accompanied by unit tests to ensure its correctness and reliability.

Co-authored-by: Snider <631881+Snider@users.noreply.github.com>
2026-02-02 00:41:14 +00:00
..
testdata feat: Telegram channel/group export 2026-02-02 00:41:14 +00:00
telegram.go feat: Telegram channel/group export 2026-02-02 00:41:14 +00:00
telegram_test.go feat: Telegram channel/group export 2026-02-02 00:41:14 +00:00