Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sauberr/telegram-stars-bot

Simple TG bot, based on Aiogram 3.x. Lets you receive payments with Telegram Stars
https://github.com/sauberr/telegram-stars-bot

aiogram3 python telegram-bot

Last synced: 27 days ago
JSON representation

Simple TG bot, based on Aiogram 3.x. Lets you receive payments with Telegram Stars

Awesome Lists containing this project

README

        

Aiogram 3.x Telegram Stars Payments bot example

Basic donation bot to showcase Telegram Stars Payments. Based on Aiogram 3 with some useful speedups & async (non-blocking) libraries. As well as basic architecture setup.

#### Stack:

- [Python](https://www.python.org/downloads/)
- [Aiogram](https://aiogram.dev/)

## Credits
[@MasterGroosha](https://github.com/MasterGroosha) for his Aiogram 3 getting started guides, we learned from it many cool things

[@Priler](https://github.com/Priler/telegramStarsBot) original bot code

## Local Developing

All actions should be executed from the source directory of the project and only after installing all requirements.

1. Firstly, create and activate a new virtual environment:
```bash
python3.12 -m venv ../venv
source ../venv/bin/activate
```

2. Install packages:
```bash
pip install --upgrade pip
pip install -r requirements.txt
```

3. Run file name bot.py

## Example env token

token=2013707108:AAFrRRwoeojqe-FkedkWJfJFh6l1ixlzwwz

## License

This project uses the [MIT] license(https://github.com/Sauberr/telegram-stars-bot/blob/main/LICENSE)