rubenlagus / TelegramBots

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

Add support Telegram Stars Payments #1370

Closed megoRU closed 3 months ago

megoRU commented 3 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 3 months ago

The feature was announced 20 minutes ago. Calm down.

You are free to commit a PR

megoRU commented 3 months ago

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

rubenlagus commented 3 months ago

Done