apenasrr / clonechat

Clone all posts from the history of a Telegram Channel/Group to another Channel/Group.
MIT License
388 stars 98 forks source link

Clonechat

Clone all posts from the history of a Telegram Channel/Group to another Channel/Group.

Secure backup. Saves and protects the posts in the destination chat from possible deletion of posts from the source chat.

Versão em Português

Settings

USE

via command line

Command: python clonechat.py --orig={chat_id of source channel/group} --dest=-{chat_id of destination channel/group}

Example: python clonechat.py --orig=-100222222 --dest=-10011111111

Via menu in terminal

Finalization

Note: If this file is not deleted, the next time you run the script the cloning will continue where it left off.

FAQ

How to get the chat_id of a channel or group

There are several ways to get the chat_id of a channel. We will show two of them:

How to generate telegram API access credentials?