Python-telegram-bot
bot in Telegram for ordering various services. I have a VPS server to launch the project.
but with an easy possibility to later add a large number of other services, and different services may have different fields for ordering the service. Keep this in mind when developing the database structure.
regarding code writing. small size files. better to have more files, but with less code in each. to write code more economically.
1. Telegram bot for clients where they order services
Use this token to access the HTTP API:
8042959565:AAFJ01R6-
the client sees all their past orders
upon entering, the client selects a language.
Thai
English
Russian
then after selecting a language
the client will choose a service
initially, we will start with the cleaning service, wash the scooter, clean the air conditioner, clean the furniture
the owner of the bot sees all orders
2 separate Telegram bot for contractors.
all created orders come here with the possibility of commenting on the orders.
the client's contact details are not visible to the contractors.
How is the contractor selected for the order?
no way. orders just come
How is the confirmation of order completion done?
a live person will write to the client themselves
Use this token to access the HTTP API:
7910134975:AAGM_hfJhAkqasN-
upon entering, the contractor selects a language once.
Thai
English
2. User roles
2.1 Customer
Creating orders for cleaning
Viewing their orders
3. Order creation process
3.1 Choosing the type of cleaning
Basic cleaning
Deep cleaning
Eviction
Eviction and settling
After renovation
3.2 Additional services
Take bed linen to the laundry and bring it back and lay the linen on the beds
Take bed linen to the laundry and bring it back
Window washing
Changing ready bed linen
Balcony cleaning
Cleaning the refrigerator
Cleaning the microwave
Cleaning the oven
Cleaning the area around the house
Ability to choose multiple services
Display of selected services (β
)
3.3 Room parameters
Room area:
30 mΒ²
45 mΒ²
60 mΒ²
100 mΒ²
120 mΒ²
150 mΒ²
250 mΒ²
500 mΒ²
700 mΒ²
Number of bedrooms:
1
2
3
4
6
Number of bathrooms:
1
2
3
4
6
3.4 Photo/video of the room
Optional upload of photo/video
Support for multiple uploads
Display of the number of uploaded files
Ability to skip the stage
3.5 Date and time
Choosing a date 14 days in advance
Choosing a time from 8:00 to 20:00
30-minute intervals
3.6 Location
Ability to send geolocation or send location via link
Saving coordinates
4. Database (SQLite)
4.1 Tables
users
id (PRIMARY KEY)
telegram_id (UNIQUE)
username
role (customer/cleaner)
rating_average
rating_count
lat
lon
status
completed_orders
specializations
verification_status
created_at
orders
id (PRIMARY KEY)
customer_id (FOREIGN KEY)
cleaner_id (FOREIGN KEY)
service_type
additional_services
area
bedrooms
bathrooms
scheduled_date
scheduled_time
flexible_time
time_range_start
time_range_end
address
lat
lon
status
price
rating
review
created_at
order_photos
id (PRIMARY KEY)
order_id (FOREIGN KEY)
file_id
type (photo/video)
created_at
order_proposals
id (PRIMARY KEY)
order_id (FOREIGN KEY)
cleaner_id (FOREIGN KEY)
price
comment
status
created_at
6. Security
Access rights check for each operation
Validation of all incoming data
Secure storage of the bot token
Access control to the database
7. Error handling
Informative messages for users
Detailed error logging
Recovery from failures
Protection against incorrect input
8. Navigation
Back button at each stage
Ability to cancel the order
Return to the main menu
Saving the order state
9. Notifications
Confirmation of order creation
Status of operation execution
Here is the improved version:
1. Project architecture
Copyproject/
βββ src/
β βββ bots/
β β βββ client/
β β β βββ handlers/
β β β βββ keyboards/
β β β βββ scenes/
β β βββ contractor/
β β βββ handlers/
β β βββ keyboards/
β β βββ scenes/
β βββ common/
β β βββ constants/
β β βββ interfaces/
β β βββ utils/
β βββ config/
β βββ database/
β β βββ models/
β β βββ migrations/
β β βββ seeds/
β βββ services/
β βββ locales/
βββ tests/
5. Improvements for scalability
Modular service structure
Flexible order parameter system
Tree structure of services
Queue system for notifications
Caching frequent requests
6. Additional recommendations
Use TypeScript for typing
Implement a logging system (Winston)
Add data validation (Joi)
Implement CI/CD pipeline
-
3 days50β―USD
102 1 0 3 days50β―USDGood day! I am ready to take on your project. Since I do not have a rating on this platform, I am willing to do the work cheaper than others. I have experience working with various Telegram libraries, PostgreSQL database (but if needed, I can easily do it on SQLite). I also have experience working with various hosting services like Heroku, Google Cloud, and I am ready to upload it to the hosting for free. I look forward to collaborating!
-
7 days300β―USD
757 8 0 7 days300β―USDGood afternoon. I have over two years of experience in developing Telegram bots. The task is relatively clear, but it requires many clarifications or a more detailed technical specification; I can also offer to create a user-friendly admin panel. I am ready to collaborate, feel free to reach out.
-
10 days1500β―USD
4987 41 4 1 10 days1500β―USDΠΠΎΠ±ΡΡΠΉ Π²Π΅ΡΠ΅Ρ!
ΠΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎ ΡΠ°Π·ΡΠ°Π±Π°ΡΡΠ²Π°Ρ Π±ΠΎΡΠΎΠ² Π² Π’Π΅Π»Π΅Π³ΡΠ°ΠΌ ΠΈ Π²Π΅Π±ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΡ Π½Π° Python(Aiogram, FastAPI).
ΠΠΎΡΠΎΠ² ΡΠ΅Π°Π»ΠΈΠ·ΠΎΠ²Π°ΡΡ Π²Π°ΠΌ ΠΠ΄ΠΌΠΈΠ½ΠΊΡ + ΡΠ°Π·Π²Π΅ΡΠ½ΡΡΡ Π½Π° ΡΠ΅ΡΠ²Π΅ΡΠ΅
ΠΠ°ΠΏΠΈΡΠΈΡΠ΅ ΠΌΠ½Π΅ Π² Π»Ρ, ΡΡΠΎΡΠ½ΠΈΠΌ Π΄Π΅ΡΠ°Π»ΠΈ
-
5 days400β―USD
489 3 1 1 5 days400β―USDI propose the development of a comprehensive system consisting of two Telegram bots for a service ordering platform. The bots will be oriented towards clients and performers, providing convenient order management and interaction between them.
Main features of the project:
Bot for clients:
Language selection (Thai, English, Russian).
Order placement: support for multiple types of services, including additional options and the ability to upload media.
Order history: clients can view all their past orders.
Bot for performers:
…
Receiving all orders without personal data of clients.
Ability to comment on orders for convenient collaboration.
Technical implementation:
Modular architecture: small-sized files with lightweight and scalable code.
Database (SQLite): supporting various fields for diverse services.
Security: setting access rights and data verification to protect the service.
Additional advantages:
Support for message queues and request caching for optimal performance.
Typing and logging (TypeScript and Winston) for code reliability.
CI/CD pipeline for fast and reliable deployment.
Ready to discuss project details, deadlines, and budget for maximum effective implementation.
-
3 days100β―USD
1816 31 0 3 days100β―USDHello, I am ready to develop.
Write to me in private messages to discuss the details.
-
4 days400β―USD
99 4 days400β―USDWe have a team, ready to start working immediately. We guarantee high quality.
-
5 days100β―USD
10152 117 0 5 days100β―USDΠΠ΄ΡΠ°Π²ΡΡΠ²ΡΠΉΡΠ΅.
Π Π°Π·ΡΠ°Π±Π°ΡΡΠ²Π°Ρ Π±ΠΎΡΠΎΠ² Π΄Π»Ρ ΡΠ΅Π»Π΅Π³ΡΠ°ΠΌΠ° Π½Π° NodeJS. ΠΠΎΡΠΎΠ² Π²Π·ΡΡΡΡΡ. ΠΠΈΡΠΈΡΠ΅, ΠΎΠ±ΡΡΠ΄ΠΈΠΌ.
-
3 days330β―USD
847 14 0 3 days330β―USDHello!
I am ready to implement your project in Python using aiogram to create two Telegram bots: one for clients and the other for performers.
I plan to use the following technologies:
- Python for the main logic of the bot and type annotations
- Aiogram for integration with the Telegram API
- SQLite for data storage (with the possibility of scaling to other DBMS)
- Pydantic for data validation (an alternative to Joi)
- Logging or Loguru for convenient logging (an alternative to Winston)
… - Redis for caching frequent requests (if needed)
- Docker for containerizing the project
Based on the project description, I will implement the following features:
- Multilingual support (English, Russian, Thai)
- Order creation with service selection and additional options
- Uploading photos/videos
- Sending orders to performers via a separate bot
- Data protection and access rights verification
- Adaptive database structure for adding new services
- Logging and error handling
- Easy scalability and support for future changes
The project will be packaged in Docker, which will ensure easy deployment on any infrastructure and the ability for quick scalability, transferring the project between environments without compatibility issues or, if needed, quick and simple cloning. This will also provide the possibility of integration with CI/CD processes.
I will ensure reliable data validation and transaction security between the bots. The project will be optimized for convenient code management (small, separate files).
I am ready to discuss the details for precise planning.
-
20 days370β―USD
603 4 0 20 days370β―USDI am interested in your task, I can create two bots using Aiogram, we can discuss the details in private messages.
-
1 day150β―USD
283 1 0 1 day150β―USDGood afternoon, I have experience in developing Telegram bots in Python.
I can write your project in the shortest possible time while fulfilling all the details.
Contact me, and I will start working right now.
-
1 day250β―USD
93908 1263 1 10 1 day250β―USDHello. I have extensive experience in developing Telegram bots. Do you have a more detailed technical specification?
-
1 day100β―USD
3482 50 0 1 day100β―USDGood afternoon
I am ready to do your task today
Write to me
I am ready to discuss the details
I will be happy to help
-
ΠΡΠ»ΠΈΡΠ½ΠΎ ΠΎΡΠΎΡΠΌΠ»Π΅Π½Π½ΠΎΠ΅ Π·Π°Π΄Π°Π½ΠΈΠ΅
-
Current freelance projects in the category Javascript and Typescript
Full-stack development β Amazon PPC Dashboard (Stage 1)Need a full-stack developer with experience working with Amazon API to implement Stage 1 of the internal PPC dashboard. The project is real, the data is live, everything is ready to start. Frontend prototype (5 pages, React + TypeScript): WHAT IS ALREADY READY β Frontendβ¦ Javascript and Typescript, Web Programming β 10 hours 37 minutes back β 17 proposals |
Development of a photo book and photo frame constructor websiteProject Goal A modern website needs to be developed for ordering photo books, photo frames, and other personalized photo products. The main task of the project is to provide the client with the ability to independently create a ready-made layout of the product directly on theβ¦ Javascript and Typescript, Web Programming β 2 days 2 hours back β 90 proposals |
Full-stack developmentNeed a full-stack developer who is free for work and not looking to get rich immediately from this project. This is my test site: readyhome.ge the prototype of which I want to create (not referring to design). In the footer, there is Russian language, fill out the questionnaireβ¦ Javascript and Typescript, Web Programming β 2 days 15 hours back β 79 proposals |
Team for a custom marketplace of funeral services.We are looking for a team to launch and develop a custom national marketplace for funeral services. Right away: we are not looking for solo freelancers, juniors, or "website builders." We need a strong product team at the middle+/senior level with real cases inβ¦ Javascript and Typescript, Web Programming β 2 days 21 hours back β 25 proposals |
Improvement of the existing Next.js/Supabase project: offers, CRM, analytics, AI chatThere is an active project WatchGenius β a luxury watch analytics platform with a catalog of models, price analytics, external offers, application forms, and an AI chat. The project has already been partially developed. We need not a website from scratch, but an experiencedβ¦ Javascript and Typescript, Web Programming β 4 days 22 hours back β 55 proposals |