rubenlagus / TelegramBots

Java library to create bots using Telegram Bots API
https://telegram.me/JavaBotsApi
MIT License
4.79k stars 1.23k forks source link

Add support Telegram Stars Payments #1370

Closed megoRU closed 5 months ago

megoRU commented 5 months ago

Pass an empty string for payments in Telegram Stars.

org.telegram.telegrambots.meta.exceptions.TelegramApiValidationException: ProviderToken parameter can't be empty
Chase22 commented 5 months ago

The feature was announced 20 minutes ago. Calm down.

You are free to commit a PR

megoRU commented 5 months ago

@Chase22 By the way, you can write any in setProviderToken and this will solve the problem

rubenlagus commented 5 months ago

Done