Telegram script
A Telegram script is needed for parsing participants, adding them to contacts, and inviting them to my groups with anti-ban logic.
1. Goal
A solution needs to be implemented for the automatic collection of participants from a Telegram group, adding them to the contacts of a Telegram account, and subsequently inviting them to my other Telegram groups with minimal risk of bans.
2. Input data
Link to the Telegram group/chat from which participants need to be taken
Telegram account(s) for work (provided by me)
List of target Telegram groups where users need to be added
3. Functionality
3.1 Adding to contacts
Automatic addition of collected users to the contacts of the Telegram account
Ability to:
set limits (for example, 20–40 contacts/day)
random pauses
Action log (who was added, who was skipped)
3.2. Re-adding to other groups
Inviting collected users to my Telegram groups
Settings:
invite only after adding to contacts
daily limits
pauses between actions
Skipping users:
if invites are prohibited
if already in the group
4. Anti-ban and security
Working through:
Telethon / Pyrogram (Python)
Mandatory:
delays between actions
limits on quantity
support for working with multiple accounts
No mass actions "at once"
5. Interface / management
One of the options (at the discretion of the performer):
CLI (console)
simple menu:
parse participants
add to contacts
invite to groups
6. Work result
Working script
Instructions:
how to run
what limits to set
how to change groups
Test on 1 account
7. Limitations
I understand the risks of Telegram
Mass addition = possible restrictions
The performer is not responsible for account bans if I violate the recommended limits
Client's review of cooperation with Dmytro Romanchuk
Telegram scriptWonderful specialist!
The work was done quickly and efficiently. He was always in touch, promptly answered all questions, and took into account all comments and wishes. Very polite, responsible, and professional in his field. I am completely satisfied with the collaboration — I definitely recommend!
Freelancer's review of cooperation with Ihor Pavlenko
Telegram scriptEverything is great, the project was completed quickly and expertly, I recommend working with Igor.
-
Igor, good day.
I have reviewed your technical assignment. All requirements are clear, and I am ready to implement the project.
I have experience working with the Telegram API and developing automated solutions. In my portfolio, there is a similar project: https://freelancehunt.com/showcase/work/telegram-bot-kripto-obmennik/1992712.html
As part of the latest updates to this project, a function for parsing group participants with subsequent message distribution was implemented. For your task, it is necessary to adapt the existing functionality: instead of distribution, implement adding contacts and automatic sending of invites.
Technically, everything is implemented, so I do not foresee any difficulties in execution.
Timeline: 1 day.
…
I will start today.
I am ready to discuss the details and agree on the final implementation details.
-
345 Hello, I have extensive experience in similar projects. I will do my best for you. Please contact me.
-
4587 50 1 Good day, I am a Python developer, I have a ready desktop application with a nice interface that I developed. It performs everything you need, I can adjust it to your needs. Write to me - we will discuss the details.
-
2264 18 3 Good day. I am engaged in the development of Telegram bots and automation in Python. For implementation, I propose to use Pyrogram + SQLite. The database is critical here - it will track the path of each user so that accounts do not overlap and do not spam the same people.
Technical nuances that I will consider:
- Randomization: in addition to pauses, I will add random "noise" to the timings so that actions do not appear as a cyclic script.
- Sessions: support for multiple .session files. Each account operates according to its own schedule of limits.
- Error handling: the script will automatically skip users with closed invites and will handle FloodWait without stopping the entire cycle.
…
- Config: I will move all variables (limits, delays, group IDs) to a text file. You will be able to change the settings without editing the code.
The script will be in the form of a console menu.
Write to me. We will discuss the details and I will immediately start working.
-
280 1 0 Good day!
The task is clear, and I am familiar with the implementation. I am ready to start immediately. You will be satisfied with the result.
-
10152 117 0 Hello.
I develop bots for Telegram using NodeJS. I am ready to take on the project. Write to me, we will discuss.
-
2192 24 1 Hello, I am currently working as a developer in a Telegram bot farm. I have a ready script with configured limits, I can show the groups where we transferred users. The task was identical, there was a list of groups from which the account parses participants and then makes requests to add them. I am ready to create an interface for you, I suggest using Flask to have a convenient design (you will have a website with an interface and logging on your localhost), rather than just a console. I have more than 5 years of experience working with Python. I would be happy to collaborate!
-
2056 23 0 Hello! Do you already have ready-made contact databases for parsing, or do we need to create new ones? For a more precise clarification of terms and budget, we can discuss this in private messages.
1. I will develop a script in Python using the Telethon / Pyrogram libraries for automatically collecting participants from the Telegram groups you need.
2. I will implement the automatic addition of the collected contacts to your Telegram account with the ability to set limits and random pauses.
3. I will set up inviting the collected users to your Telegram groups, taking into account the restrictions and pauses between actions.
Thank you for considering my proposal. I will be happy to work on your project!
-
1363 7 0 Good day, I have experience working with Python as well as Telegram bots, I can complete everything quickly and efficiently, write to me and we will discuss the details.
-
484 2 0 Hello! I have experience in developing inviters and parsers in Python (Telethon/Pyrogram).
Your task is clear. I will implement the script exactly according to your "Contacts First" algorithm (Parsing -> Adding to contacts -> Invite).
Technical implementation:
Multithreading: The script will support working with a session folder (sessions/), so you can upload 5-10-20 accounts there, and the script will take them one by one or work in parallel.
Smart limits (config.json): I will move all settings to a separate file. You will be able to edit them yourself:
…
add_contact_limit: how many to add to contacts (e.g., 30).
invite_limit: how many to invite (e.g., 40).
sleep_range: pause between actions (e.g., 30-120 sec).
Error handling:
If Telegram returns FLOOD_WAIT (temporary restriction), the script will automatically pause or switch to the next account.
Users with the privacy setting "Do not add to groups" will be skipped and logged.
Logging: We will create a file history.db (SQLite) or txt logs, so the script remembers whom it has already tried to add and does not touch these people again from other accounts.
Interface: I will create a convenient console menu (CLI), where you can choose the mode of operation with buttons 1-2-3.
Security: The code will be clean, and you will be able to check it before running. I will add instructions for setting up a proxy (if needed) and launching.
Ready to start. How many accounts do you plan to use simultaneously?
-
211 1 0 Hello! I have reviewed the requirements — the task is clear, and I have experience for such implementation.
I work with Python, have practical experience in automating Telegram through Telethon / Pyrogram, including:
parsing participants from groups/chats;
working through user accounts and sessions;
implementing anti-ban logic (limits, pauses, account rotation);
…
logging actions and error control.
How I will implement it
Parsing participants from the incoming group
Adding to contacts:
daily limits (20–40/day or your limits)
random pauses
log: added / skipped / error
Inviting to target groups:
only after adding to contacts
check: already in the group / invites prohibited
separate limits and pauses
Support for multiple accounts
No mass actions "at one moment"
Management
Separate Telegram bot for management:
menu with buttons
start / stop parsing
adding to contacts
inviting to groups
changing limits, pauses, and group lists
Config + management without code edits
Result
Working script
Separate Telegram bot for management
Instructions with recommendations for safe limits
Test on 1 account
Deadline: 3–5 working days
Ready to discuss details and start soon.
Current freelance projects in the category Data Parsing
Python / Network Engineer: Network optimization of the bot (WAF, Connection Pooling, Asyncio)Simplified version! Please respond only if you understand and are knowledgeable. About the project: An automated bot for sniping. The basic business logic (parsing, authorization, assembling JSON/XML packages) is already ready and works on Python. The target environment is Linux… Python, Data Parsing ∙ 7 hours 18 minutes back ∙ 14 proposals |
OpenCart — rental catalog of special equipment
135 USD
OpenCart — Equipment Rental Catalog Need to launch an equipment rental catalog on OpenCart. Theme: excavators cherry pickers forklifts generators cranes scaffolding other construction equipment. It is preferable that you already have a ready-made template or developments… Web Programming, Data Parsing ∙ 7 hours 28 minutes back ∙ 42 proposals |
Transfer the program - the server where the program was located has crashed (officially permitted parsing of government data)
47 USD
Hello! My client has encountered the case described below. We need help transferring to a new server and testing the program. It would be better to have a programmer who understands parsing. Software & Server Configuration, Data Parsing ∙ 11 hours 21 minutes back ∙ 22 proposals |
Parsing and classification of a large array of imagesIt is necessary to implement a project for collecting and structuring a large array of architectural images from open web sources.The task includes: automated collection of images; uploading files in the highest available quality; classification of images by categories:… Python, Data Parsing ∙ 11 hours 49 minutes back ∙ 29 proposals |
Parsing Resumes from Work.ua and Rabota.uaIt is necessary to download a database of current resumes from Work.ua and Rabota.ua in Excel format. It is preferable that the Excel file contains the following columns: Name Phone number (in the format +380...) Email Position (profession) Positions considered Category of… Information Gathering, Data Parsing ∙ 1 day 11 hours back ∙ 18 proposals |