Skip to content

eiirn/TelegramStarsMonetization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monetize Your Telegram Bot with Telegram Stars 🌟

Dart Telegram License Watch the Video

Watch the Video Tutorial 🎥

This project demonstrates how to integrate Telegram Stars — Telegram's new in-app currency — to monetize your bot by accepting payments for digital goods and services. Built with Dart and the Televerse library, this codebase provides a step-by-step guide to implementing in-app purchases, interacting with Telegram’s Bot API, and processing Stars for a seamless user experience. Perfect for Telegram bot developers and Dart enthusiasts!

🚀 Key Features

  • Monetization with Telegram Stars: Allows users to make in-app purchases using Stars.
  • Televerse Integration: Uses Televerse to communicate with Telegram’s Bot API.
  • Dart Implementation: Written entirely in Dart, making it efficient and developer-friendly.

📖 Get Started

  1. Clone the Repo

    git clone https://github.com/eiirn/TelegramStarsMonetization.git
    cd yourrepository
  2. Set Up Environment Variable:
    Set your BOT_TOKEN in your environment variables.

    export BOT_TOKEN=your-telegram-bot-token
  3. Run the Project

    dart run

🔧 Requirements

  • Dart SDK >= 3.0.0
  • Telegram Bot with an active BOT_TOKEN
  • Televerse Package for handling Bot API interactions

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


🔗 Additional Resources

About

Example showcasing monetization of your Telegram Bot with Telegram Stars. ⭐️

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages