Telegram bot for posting comments in channels
It is necessary to write a program in Python based on the example of an existing repository on GitHub, but make some changes.
*Link to the example repository*
In general:
- In the working directory of the script there should be:
- Folder - sessions
- Configuration file:
- List of channels to track
- Options for texts and images for publication
Algorithm of operation:
- The script reads the sessions folder and automatically loads the first session of Telegram
- Adds the list of channels to track new posts
- When a new post is added to one of the channels, it writes one of the text options in the comments
- When the account is banned, it selects the next one from the folder
At the same time, the script must:
- Be able to work with Cyrillic
- Be able to send images
- Display the log of work in the console (with timestamps) and write it to the corresponding log file:
- which channel the post was added to and which comment was sent there
- in which channel the user was blocked
- account ban
- loading a new session
All other nuances, if they arise, we will discuss in private.
-
460 0 1 Hello, Andriy! I am an experienced Fullstack developer, ready to create a Telegram bot for posting comments in channels according to your project. I will solve issues with automation, processing Cyrillic, and sending images. The code will be optimized for reliable session handling, and logging will ensure transparency of processes. I am ready to discuss the details and implement the project in the shortest possible time!
-
1872 9 0 Good day, Andriy!
I am ready to develop a Python program based on the proposed example from GitHub with the necessary changes for automating work with Telegram channels. Here’s how I see the implementation and main stages of the project:
Program functionality:
1. Processing Telegram sessions:
Automatic loading of the first available session from the sessions folder.
Switching to the next session in case of a ban on the current account.
2. Channel monitoring:
… - Adding a list of channels from the configuration file.
- Tracking new posts on the channels.
3. Comment automation:
- Sending text comments from options in the configuration.
- Supporting the sending of images in comments.
4. Work logs:
- Outputting logs to the console with timestamps.
- Recording logs to a file displaying:
- Channel and comment text.
- Recording of bans and loading of new sessions.
I am ready to discuss the project details and start working.
-
414 1 0 Hello, can we discuss the details in private messages? .............
-
751 10 1 I am interested in your project, ready to implement it and will be happy to collaborate!
-
73 Hello, I am ready to complete your order.
I am waiting for you in private messages.
Have a nice day.
-
1294 25 1 Good morning, ready to complete the project in Python. You can start today.
-
3367 84 0 Ready to take it on.
But we need to clarify the order details, write!
I will implement it with a script in Python.
-
Без прокси все аккаунты отлетят разом, разве нет?
-