- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 78
 
Open
Labels
Description
Currently, for each contact or group in slave channel, we need to create new group and use /link command to link out.
I am thinking of some ways to make it automaticly.
I find Pyrogram has this kind of interface and we can make use of it.
The idea is like to  at least to change 3 parts in the code:
- configuration part and class init, need to use a parameter to enable this feature or not. if enable, need to provide api id and api hash, then initiate the client.
 - message send out part, need to add some mechanism to check if this chat has already link to a group, othewise will use the interface provided by pyrogram to create one and make the link, then update_info of that group.
 - database part, currently allow 1 group to link more than 1 slave group. maybe need to change 1 to 1. otherwise, I have not think of an idea how to do it.
 
There are some other issues may need to consider, but to realize it will make life happy.
I am trying to read the code of this project, and maybe I will offer some help to submit on PR later. but what will others think of it?