Need a bot that will fully copy each message from certain chats/channels to others.
Its functionality should include:
1. Adding chat linkages (main chat + copy), by specifying the IDs of these chats in the bot itself, using a minimal interface implemented with buttons to add the bot as an administrator to the necessary chats/channels. There can be multiple copies of a chat, in which case forwarding occurs to all specified copy chats. It should also be possible to delete chat/channel linkages. The name of the chat/channel linkage should match the name of the main chat.
2. Analyzing the main chat and fully exporting its messages to the copy chat, including automatic distribution into chat branches and their creation. Exporting should be done by forwarding messages while preserving the original sender's name. The speed of export should be as high as permitted by Telegram limits, if any.
3. After analyzing and exporting all existing messages in the chat/channel at startup, the bot should switch to a continuous mode and forward each new message from the main chats to the copy chats in real time.
4. The bot must support at least 50 main chats.
5. The bot should have a configuration list of managing accounts (their IDs), which will have the right to manage the bot and add/remove chats for tracking.
6. There should be an additional option to disable the visibility of the original sender's name, so messages are posted from the channel's name. This option should be configurable for the entire chat/channel.
7. All basic errors should be handled, such as "bot is not an administrator in channel xxx". Logs should be maintained.