Python Telegram Manager Project — a solution for efficient management of a large number of Telegram accounts via API.
📌 Project essence
I need to automate work with a large number of Telegram accounts (100+), connected via Telegram API (through .session or other authorization methods).
The main goal is to receive all incoming personal messages (DM) on these accounts in real-time and forward them to a separate Telegram bot. Through this bot, I will be able to:
• see all messages received by other accounts
• reply to them, and the responses will be sent on behalf of the respective account
Additionally, an extra function is required: sending 5-10 personal messages (DM) per day from each account. It is important that the solution minimizes the risk of Telegram blocking, using proxies and containers for each account or other secure approaches.
✅ What the contractor needs to do:
Implement a system for connecting a large number of accounts via Telegram API.
Ensure collection of all incoming private messages from these accounts.
Build a message forwarding system to a Telegram bot.
Provide the ability to reply through the bot, so that responses are sent on behalf of the account to which the message was received.
Optimize work with a large number of accounts (100+): through asynchronous processing, multithreading, or load distribution.
Add a feature for sending 5-10 unique personal messages (DM) per day from each account, considering the use of proxies and containers (or other secure solutions) to minimize the risk of Telegram bans.
Comment on mailing:
I plan to have the ability to upload a file with contacts to which messages need to be sent. From each account, 5 to 10 unique DMs should be sent daily to different accounts (without repeats).
Also, a section is needed where you can:
Add or update a contact file (import/export).
Change the message text for mailing without changing code (via a simple interface or configuration file).
View reports on which accounts messages were sent and from which account.
Manage accounts — add new accounts, delete those that are banned, and see the status of each account (active / blocked).
The mailing should be carried out with delays to avoid simultaneous mass sending and reduce the risk of bans.