Please create a script that automates the setup and creation of the following... I need a bot selling stuff, handling customers and enquiries aswell as payments and marketing on telegram. 
1. Telegram Bot Creation
Create the bot: Use Telegram’s BotFather to create a bot. It will give you an API token, which you'll need to interact with Telegram’s API. You can customize the bot's username and description.
Basic bot setup: Use the python-telegram-bot or telepot library to set up a bot that can respond to inquiries, list items for sale, and assist with orders.
2. Connect to Yaga Store (Pulling Items)
Scrape/Access Data: Yaga does not have a public API, but you can scrape item data from your Yaga store using Python’s BeautifulSoup or Selenium.
Store Data Locally: Store this data in a local database or dynamically retrieve it by scraping regularly. Use this data to answer customer questions about available items.
3. Friendly and Helpful Responses
Natural Language Processing (NLP): Use pre-built NLP libraries like Rasa or Dialogflow for the bot to understand and generate friendly responses. These can help the bot understand inquiries and recommend products based on user preferences.
Pre-configured responses: Set up predefined friendly responses for FAQs like delivery times, product descriptions, sizes, and return policies.
4. Marketing Automation
Broadcast Promotions: The bot can regularly push new items, discounts, and special offers to users through channels or groups, using Telegram's message broadcasting features.
Customer Retargeting: Use user IDs to retarget people who’ve interacted with the bot by sending them personalized recommendations based on their previous queries or shopping behavior.
5. Payment Gateway Integration
PayFast: PayFast is one of the most popular payment gateways in South Africa. They offer a detailed API that you can use to integrate payments directly into your Telegram bot. You'll need to sign up, get the necessary keys, and connect it using webhooks to manage order status and payment confirmations.
PayFast API Documentation
Yoco: Another South African payment gateway you can use. It provides easy-to-integrate API solutions and mobile payment links.
Yoco API
6. Handling Orders and Payments
Cart Management: Implement basic cart functionality where users can browse items, add them to a cart, and proceed to checkout.
Payment Processing: After cart confirmation, generate a PayFast or Yoco payment link and send it to the user. Use the gateway’s API to confirm the payment status and notify the bot when the transaction is successful.
7. Deploying the Bot
Run the bot on the cloud: You can use services like Heroku or AWS Lambda to host your bot, ensuring it runs 24/7. You can also set up a webhook to receive updates from Telegram.
Database: Use a database like SQLite or PostgreSQL to store information about users, products, and transactions.
Example Workflow
Inquiry: Customer sends "Hi, do you have any sneakers?"
Bot Response: The bot searches the Yaga store for sneakers and lists available options.
Add to Cart: Customer selects an item.
Bot Action: Adds the item to their virtual cart and confirms with the user.
Checkout: Customer proceeds to payment.
Bot Action: Generates a PayFast/Yoco payment link and sends it to the user.
Confirmation: Payment is processed, and the order is confirmed.
Bot Action: Sends a confirmation message and updates the order status.
Tools to Use:
python-telegram-bot: For interacting with Telegram’s API.
BeautifulSoup/Selenium: For scraping the Yaga store data.
PayFast/Yoco API: For handling payments.
SQLite/PostgreSQL: For managing product, order, and user data.
This setup provides a seamless experience for customers, from inquiries to purchasing, within the Telegram ecosystem.