Loading video player...
In this video, we build a Telegram product-selling bot that can accept Solana payments and automatically deliver digital products like photos, videos, documents, ZIP files, and other media directly inside Telegram. This is not a simple echo bot. This is a real product-style Telegram bot where: ✅ Admin can upload digital products ✅ Products are saved with price, description, and media type ✅ Users can browse products inside Telegram ✅ The bot generates a unique Solana payment request ✅ Payment is tracked using a unique reference/order ID ✅ After payment confirmation, the bot automatically delivers the purchased media ✅ Refund/support flow is also planned ✅ Mock payment flow is added for local testing We use TypeScript, grammY, PostgreSQL, Drizzle ORM, Solana payment links, and Codex/AI coding to build the application step by step. The video also shows how AI coding tools are useful, but also why we still need to guide, test, debug, and improve the generated code. Solana Pay supports payment URLs, QR codes, and unique references for tracking payments, which fits this bot’s payment design very well. grammY is also a strong TypeScript/JavaScript framework for building Telegram bots, and grammY runner helps with concurrent bot processing. This tutorial is useful if you want to build Telegram bots, crypto payment bots, digital product delivery bots, or learn how to vibe code a real-world application with AI tools. Tech Stack Used - TypeScript - grammY - grammY Runner - PostgreSQL - Drizzle ORM - Solana Pay / Solana blockchain - Docker for local PostgreSQL - Codex / AI coding workflow - Telegram BotFather What You Will Learn - How to plan a Telegram bot product flow - How to structure admin and user flows - How to use Telegram file IDs for digital product delivery - How to generate unique Solana payment requests - How to track payments using order/reference IDs - How to store products, orders, payments, and delivery records - How to use Drizzle ORM with PostgreSQL - How to test payments locally with a mock payment script - How to debug AI-generated code during vibe coding If you like practical AI coding tutorials, Telegram bot development, and real-world backend projects, make sure to like, share, and subscribe. Chapters 00:00 Introduction: Building a Telegram Product Selling Bot 00:44 App Overview: Admin Uploads, User Browsing & Media Delivery 04:54 Project Setup: BotFather, VS Code, PostgreSQL & Codex 11:40 Choosing grammY, grammY Runner & Telegram Admin Flow 17:25 Solana Payment Design with Unique Order References 22:00 AI-Generated TypeScript App Structure, Drizzle Schema & Config 37:20 Local Testing: Seed Products, Mock Payments & End-to-End Bot Demo 🚀 Join My Free Community! 👇 🌐 Nas.io - [Learn Everything About Chatbots](https://nas.io/learn-everything-about-chatbots) 📚 Master Google Dialogflow & Build Smart Chatbots! ES: [Enroll Now](https://www.udemy.com/course/master-google-dialogflow-build-smart-chatbots/) CX: [Enroll Now](https://www.udemy.com/course/master-dialogflow-cx-build-engaging-chatbots-2025) 💬 Join Our Discord Group & Connect with Like-Minded People! 🔗 [Discord Community](https://discord.gg/dKruft7Kqs) 🔥 Get Exclusive Perks & Behind-the-Scenes Content! 🎥 [Join This Channel](https://www.youtube.com/channel/UCOT01XvBSj12xQsANtTeAcQ/join) 💡 Need a Custom Chatbot or AI/ML/DL Solution? 📩 Contact me for: 🤖 Chatbot Development | 🧠 AI/ML/DL Projects 🎯 Hire Me on Freelance Platforms! 💼 [Fiverr Profile](https://www.fiverr.com/rajkkapadia) 💼 [Upwork Profile](https://www.upwork.com/freelancers/~0176aeacfcff7f1fc2) 💼 [LinkedIn Profile](https://www.linkedin.com/in/rajkkapadia/) 📢 Share Your Thoughts! 💬 Drop a comment below & let me know what you think about this video! 📌 Don't Forget to: 👍 LIKE | 🔔 SUBSCRIBE | 💬 COMMENT 🎶 Enjoy Life, Feel the Music. ✌️ Peace.