Switch to English?
Yes
Переключитись на українську?
Так
Переключиться на русскую?
Да
Przełączyć się na polską?
Tak
This code implements a Telegram bot in Python using the python-telegram-bot library.
The bot is designed to create advertisements for the sale of goods by users, followed by moderation and publication in a specified channel or group.

Main functions:
1. Collecting data from the user:
The bot sequentially asks for:
- product photo
- title
- description
- condition
- price
- seller's information

For selecting the condition, a keyboard with options is offered: "New" and "Used"

2. Sending for moderation:
After entering the data, the bot forms the advertisement and sends it to the moderators' group with the photo and text in Markdown format.
It adds "Publish" and "Reject" buttons.

3. Processing moderator actions:
When "Publish" is pressed:
The advertisement is published in the channel.

The user receives a notification "Your advertisement has been successfully published."
Work details
Budget 22 USD
Added 21 February 2025
219 views

2 likes
Freelancer
Serhii Ivanov
Ukraine Kropivnitskiy  30  0

Available for hire Available for hire
30 Safes completed
On the service 3 years