mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-09-03 15:19:30 +00:00
make TelegramBot.giftPremiumSubscription parseMode parameter nullable
This commit is contained in:
@@ -11,7 +11,7 @@ public suspend fun TelegramBot.giftPremiumSubscription(
|
|||||||
monthCount: Int,
|
monthCount: Int,
|
||||||
starCount: Int,
|
starCount: Int,
|
||||||
text: String,
|
text: String,
|
||||||
parseMode: ParseMode?
|
parseMode: ParseMode? = null
|
||||||
): Boolean = execute(
|
): Boolean = execute(
|
||||||
GiftPremiumSubscription(
|
GiftPremiumSubscription(
|
||||||
userId, monthCount, starCount, text, parseMode
|
userId, monthCount, starCount, text, parseMode
|
||||||
|
Reference in New Issue
Block a user