mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-01-07 00:09:55 +00:00
fix in SendGift
This commit is contained in:
parent
a09b3809e2
commit
6a3e95c488
@ -1,2 +0,0 @@
|
||||
package dev.inmo.tgbotapi.extensions.api.verifications
|
||||
|
@ -29,7 +29,7 @@ data class SendGift internal constructor(
|
||||
@SerialName(textEntitiesField)
|
||||
private val rawEntities: List<RawMessageEntity>? = null,
|
||||
@SerialName(payToUpgradeField)
|
||||
val upgradableToUnique: Boolean
|
||||
val upgradableToUnique: Boolean = false
|
||||
) : SimpleRequest<Boolean>, TextedOutput {
|
||||
override val textSources: TextSourcesList? by lazy {
|
||||
rawEntities ?.asTextSources(text)
|
||||
|
Loading…
Reference in New Issue
Block a user