Simple example of integrating Telegram Stars payments into bots using aiogram 3.x
- 💫 Seamless Stars Integration - Easy-to-implement Telegram Stars payment system
- 🔄 Refund Support - Simple mechanism for processing payment refunds
- 🎯 Minimalistic Design - Clean and efficient codebase
- ⚡ High Performance - Asynchronous architecture using aiogram 3.x
Command | Description |
---|---|
/start |
Initialize payment process |
/refund <transaction_id> |
Process payment refund |
-
Clone Repository
git clone https://github.com/bohd4nx/tg-stars-payment.git
-
Install Dependencies
pip install -r requirements.txt
-
Configure Bot
# config.py API_TOKEN = "YOUR_BOT_TOKEN" STARS_AMOUNT = 1 # Amount in Stars
-
Launch Bot
python main.py
This project is MIT licensed. See LICENSE for more information.
If you find this project useful:
- Give it a star ⭐
- Share with others 🔄
- Consider contributing 🛠️
Built with ❤️ by Bohdan