make TelegramBot.giftPremiumSubscription parseMode parameter nullable

This commit is contained in:
root authored and GitHub committed 2025-04-30 08:21:11 +06:00
1 parent 6ea8afee8f
commit 0331ff2f42
1 file changed
+1 -1
@@ -11,7 +11,7 @@ public suspend fun TelegramBot.giftPremiumSubscription(
monthCount: Int,
starCount: Int,
text: String,
parseMode: ParseMode?
parseMode: ParseMode? = null
): Boolean = execute(
GiftPremiumSubscription(
userId, monthCount, starCount, text, parseMode