mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-01-08 08:49: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)
|
@SerialName(textEntitiesField)
|
||||||
private val rawEntities: List<RawMessageEntity>? = null,
|
private val rawEntities: List<RawMessageEntity>? = null,
|
||||||
@SerialName(payToUpgradeField)
|
@SerialName(payToUpgradeField)
|
||||||
val upgradableToUnique: Boolean
|
val upgradableToUnique: Boolean = false
|
||||||
) : SimpleRequest<Boolean>, TextedOutput {
|
) : SimpleRequest<Boolean>, TextedOutput {
|
||||||
override val textSources: TextSourcesList? by lazy {
|
override val textSources: TextSourcesList? by lazy {
|
||||||
rawEntities ?.asTextSources(text)
|
rawEntities ?.asTextSources(text)
|
||||||
|
Loading…
Reference in New Issue
Block a user