What it does
- The subscription checkout uses Telegram Stars and renews every 30 days for 500 cleanup credits.
- The Worker creates the subscription checkout link only in private chat so the charge stays tied to the buyer account.
- Telegram must send successful_payment before credits or paid-revenue proof change.
- Each successful recurring payment is deduplicated by Telegram charge ID before credits are added.
- /subscription shows the latest recorded subscription payment, and /cancel asks Telegram to stop renewal.
- Telegram settings remain the fallback if a subscription exists before the Worker receives a successful payment event.