Python - Task: Code review of Telegram program
Goal: identify the reasons for unstable operation of the automatic mailing system and ensure its reliability and scalability.
⚙️ System Description:
The program is a server-side Telegram bot/interface that:
Sends messages to groups/channels according to campaigns, connecting to Telegram via API.
Uses randomized delays between messages to avoid Telegram bans.
Has content monitoring in groups:
The program monitors new messages in a specified list of groups (up to 50+).
When detecting keywords (e.g., "rain", "umbrella", etc.), forwards the message to the target group, preserving the sender's account.
Invite module:
Sends private messages with invitations to groups or channels from a contact list.
Authorization and account management module:
Allows connecting multiple Telegram accounts.
The administrator manages the activity of modules (mailing, monitoring, invites) for each account manager separately.
⚠️ Problem:
Despite having all functionalities, mailing works unstably:
Some messages do not reach recipients.
The delay logic works unpredictably.
Sometimes timeouts or queue hangs occur.
🧪 Code review goal:
Check the logic of asynchronous mailing and delays:
How are random delays implemented?
Are Telegram API limits correctly considered?
How are exceptions, bans/flood restrictions handled?
Check monitoring and message forwarding:
How does keyword search work?
Is the stability of forwarding maintained?
What is the request frequency to Telegram? Are limits not exceeded?
Check invite module:
How is the tracking of already sent invitations maintained?
Is there error handling (User not found, FloodWait)?
Assess module management architecture:
How does the administrator enable/disable modules?
Are there authorization and restriction checks?
Check queue structure (if any):
Are queues used (e.g., via asyncio, Celery, etc.)?
Is there a retry mechanism for failed sends?
📄 Expected result:
Comments on each of the above points.
Identification of failure points or "bottlenecks".
Suggestions for improvement:
Balanced delay system
Logging/status control system for mailings
Ideas for stable operation with a large volume of channels and accounts
-
Ready to cooperate with you on the ongoing support of this program
Contact us to discuss the details of the cooperation
-
216 Experience — 3 years of commercial development in Python. Worked with Telegram API, asynchronous bots, Celery/Redis, multithreading, error handling (including FloodWait).
Ready to do a full code review of your Telegram service:
Check the logic of mailing and delays
Analyze the stability of forward forwarding and keyword processing
Evaluate the invite module and account management architecture
…
Provide recommendations on optimization, retry mechanisms, and scaling
Guarantee clear technical conclusions, critical bug fixes, and an improvement plan.
Ready to start immediately after agreeing on the terms.
-
226 Good day!
Your project looks interesting and at the same time complex in terms of scaling and stability — just what I have experience with.
🎯 I have relevant experience:
Development of Telegram bots with scalable mailing modules.
Working with asynchronous queues (asyncio, aiojobs, aiogram, Celery + Redis).
… Circumventing Telegram API limits (accounting for FloodWait, load balancing across accounts).
Identifying bottlenecks in high event load systems.
🛠 I can offer:
Conducting a full code review for each of the specified points.
Providing detailed technical recommendations on queues, delays, exception handling.
Identifying points of instability: asynchronous conflicts, incorrect retry cycles, issues with forward/monitor.
Advising on optimal approaches to control the state of each account and logging tools.
Assisting with refactoring or even partial rewriting of critical modules (if needed).
Ready to immediately review the code and engage in dialogue. Write to me privately — I will show parts of implemented projects and suggest an action plan.
-
121 Good afternoon. I will check your program for errors and possible improvements. I have experience in writing similar modules - programs. I will be glad to cooperate.
-
236 Good day, I am ready to take your project. I have experience in developing Telegram bots. I made 3 custom bots, but not on this platform. I would be happy to take your project.
-
1495 13 0 Hello! Send me the code privately, I need to look at it first, then I can tell you the price and deadline. Write to me, I will be happy to cooperate!
-
1251 35 1 3 Hello Oleg, ready to perform code review.
I have extensive experience in development with Telegram aiogram, telethon, pyrogram, and more.
Your technical specifications contain a lot of fluff; as I understand, the main issue is with the mailing. (You might be violating API limits) Need to figure it out, write in private messages, we will discuss.
-
246 0 2 Good afternoon, no problem I will do your requirements for 15000 UAH the price will not affect anything!!!
-
1616 8 0 Hello
I am a developer in the field of AI/ML & BOT DEV | WEB SCRAPING. I can complete your project. Write to me, let's discuss.
-
1390 12 0 Hello,
I am a Python/Node.js developer with extensive experience in developing Telegram bots. I can review your code and fix issues. Also ready for further collaboration
-
2264 18 3 Good day, I have onsite experience in developing and testing high load TG bots with similar functionality. I will conduct a full code review, create and deliver detailed test metrics with comments on improvements. If you're interested - write, we will discuss in more detail. I will be glad to cooperate.
-
184 2 0 I have experience stabilizing Telegram bots with similar issues. Message loss and queue hanging are usually related to incorrect handling of FloodWait, lack of retry mechanisms, and improper delays. I will conduct a detailed audit of your asynchronous logic, queue system, and API error handling. I will provide specific recommendations regarding balanced delays, logging, and scalability for stable operation with 50+ groups and multiple accounts.
-
3012 73 4 2 Good day! Ready to complete your task - quality!!!!!
Contact me!!!!!!!!!!!!!!
-
Чат жпт, убил тз заказчиков. Столько пустой болтовни, в тех задании, что просто жуть
-
Current freelance projects in the category Bot Development
AI agent in Telegram for online store
451 USD
Task: creating an AI agent in Telegram for live communication with customers and processing orders in the online store on OpenCart. It is also necessary to implement customer notifications regarding order statuses, store operating hours, working conditions, delivery times, and… AI & Machine Learning, Bot Development ∙ 5 hours 3 minutes back ∙ 33 proposals |
Link UA Telegram botA Telegram bot needs to be developed that connects clients and performers of physical labor (movers, cleaning, repairs, laborers) across cities in Ukraine. Functionality: Two roles — client and performer. The client creates a request, selects a category, specifies the address… Bot Development ∙ 7 hours 42 minutes back ∙ 47 proposals |
Automation of creating advertising creatives.There is a solution in the form of Higgsfield AI + nodes that generate quite close to the idea based on the prompt, paired with almost frame-by-frame editing, everything works well, except for one thing, which is the censorship on the use of celebrity faces and such. An… AI & Machine Learning, Bot Development ∙ 18 hours 6 minutes back ∙ 8 proposals |
Futures botA futures trading bot needs to be created. Under defined conditions, it should automatically set take profit, hedge, lock in profits, and automatically restart trading. Bot Development ∙ 1 day 5 hours back ∙ 37 proposals |
Telegram automation of message distribution in chatsNeed to send messages to Telegram chats. To avoid bans. There are several hundred chats. To configure the frequency and variability of texts. Python, Bot Development ∙ 1 day 6 hours back ∙ 30 proposals |