knadh / tg-archive

A tool for exporting Telegram group chats into static websites like mailing list archives.
MIT License
829 stars 121 forks source link

Is it possible to create more than 1 Group? #88

Closed sabrysm closed 1 year ago

sabrysm commented 1 year ago

Is it possible to create more than 1 Group?

knadh commented 1 year ago

You can run tg-archive --new and create a new directory and edit the config to sync a new group.

sabrysm commented 1 year ago

You can run tg-archive --new and create a new directory and edit the config to sync a new group.

but it then requires a new API id and API hash

sabrysm commented 1 year ago

What I mean is having more than Channel/Group chat on the same site

knadh commented 1 year ago

You can copy your config.toml and reuse the session file created in your other group by passing it to tg-archive --sync --session=/path/to/your/session.session file. This won't need a new API auth handhsake.