mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-06-03 00:15:27 +00:00
16 lines
567 B
Kotlin
16 lines
567 B
Kotlin
package dev.inmo.tgbotapi.types.passport.decrypted
|
|
|
|
import dev.inmo.tgbotapi.types.dataField
|
|
import dev.inmo.tgbotapi.types.passport.credentials.DataCredentials
|
|
import dev.inmo.tgbotapi.types.passport.credentials.EndDataCredentials
|
|
import dev.inmo.tgbotapi.types.passport.decrypted.abstracts.SecureValueWithData
|
|
import kotlinx.serialization.*
|
|
|
|
@Serializable
|
|
data class AddressSecureValue(
|
|
@SerialName(dataField)
|
|
override val data: DataCredentials
|
|
) : SecureValueWithData {
|
|
@Transient
|
|
override val credentials: List<EndDataCredentials> = listOf(data)
|
|
} |