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
-
192 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.
-
122 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.
-
212 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.
-
1522 14 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!!!
-
1591 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
-
2211 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.
-
2937 73 4 2 Good day! Ready to complete your task - quality!!!!!
Contact me!!!!!!!!!!!!!!
-
Чат жпт, убил тз заказчиков. Столько пустой болтовни, в тех задании, что просто жуть
-
Current freelance projects in the category Bot Development
It is necessary to develop a Telegram bot for monitoring cars from auctions in the USA (Copart, IAAI)A Telegram bot is needed for automatic searching and monitoring of "BUY IT NOW" cars at auctions in the USA (Copart, IAAI). The bot should operate automatically and send notifications about new cars that meet the specified filters.Main functionalityFilter settings: 1. Car… Data Parsing, Bot Development ∙ 1 day 5 hours back ∙ 89 proposals |
Telegram bot
53 USD
I need code for a Telegram bot that will take messages from one channel, modify them to fit my design, and post them in two other channels. In one channel, from 1 to 6 posts, and in the other channel, all posts. Bot Development ∙ 1 day 19 hours back ∙ 87 proposals |
I am looking for a strong specialist in trading bots and agents.
250 USD
It is important to start - TODAY I need a person who has experience in writing trading bots on DEXs (needed on the BSC network) with an understanding of transaction costs, gas, etc. I want to test several trading strategies on a real trading agent I need to quickly… Cryptocurrency & Blockchain, Bot Development ∙ 2 days 16 hours back ∙ 34 proposals |
Creation of a TikTok farm with income generation
601 USD
Looking for a person who can write software for a TikTok farm, so we can generate traffic and earn income. We are seeking a ready-made solution with a full cycle. Python, Bot Development ∙ 3 days 18 hours back ∙ 16 proposals |
Pocket Option trading bot
71 USD
I need a bot and your expertise who has already been able to create a similar bot when the bets are correct, they are read from Pocket Option I am interested in Brent Oil I do not need a beginner or someone who will just write code for the sake of it I need someone who knows… AI & Machine Learning, Bot Development ∙ 4 days 19 hours back ∙ 20 proposals |