The bot forwards your messages to another group.
Python 3.9 and above is required
The following libraries are required:
api_hash, obtain them from telegram
replace_to_idfield with the user ID that the bot will be replaced with.
custom_api_keyfield of the configuration file.
python3 repeater.pyor other command lines to run the program.
/offto the target group, vice versa.
|Command||Description||Reply to the message|
||Switch on/off the bot||False|
||check the user’s authorization status||False|
||authorize to another user||True|
||put restrictions on the target user, a certain length of time can be specified (e.g.
||remove the user from the target group||True|
||forward a message to the target group using the bot account||True|
||forward the original message to this group||True|
||delete the selected message in the target group||True|
||gain admin access immediately for yourself in the target group||False|
||authorise other users to become admins||True|
||grant specify privileges to specify user in group||False|
||pin a message in group||True|
||send a warn to user with reason||True|
Special thanks to
<unknown resource>, who helped me with the translation.
Copyright © 2018-2021 github.com/googlehosts Group:Z
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.