Telegram Stars Setup
Telegram Stars is the native payment system built into Telegram, providing seamless payment experience for users.
Setup Instructions
Section titled “Setup Instructions”-
Enable Stars in BotFather
- Open @BotFather
- Select your bot
- Bot Settings → Payments → Stars
- Enable Telegram Stars
-
Configure Prices
Terminal window TELEGRAM_STARS_ENABLED=trueSTARS_PRICE_1=50STARS_PRICE_3=120STARS_PRICE_6=200STARS_PRICE_12=350 -
Optional: Require Prior Payment
Terminal window REQUIRE_PAID_PURCHASE_FOR_STARS=trueForces users to complete card or crypto payment before using Stars.
-
Restart Bot
Terminal window docker compose down && docker compose up -d
Configuration Variables
Section titled “Configuration Variables”| Variable | Description |
|---|---|
TELEGRAM_STARS_ENABLED | Enable Stars payments |
STARS_PRICE_1 | Price in Stars for 1 month |
STARS_PRICE_3 | Price in Stars for 3 months |
STARS_PRICE_6 | Price in Stars for 6 months |
STARS_PRICE_12 | Price in Stars for 12 months |
REQUIRE_PAID_PURCHASE_FOR_STARS | Force prior payment |
Support
Section titled “Support”- BotFather: @BotFather
- Telegram Docs: core.telegram.org/bots/payments
- Issues: Report on GitHub