EncryptedPassportElement

data class EncryptedPassportElement(type: String, data: String?, phone_number: String?, email: String?, files: List<PassportFile>?, front_side: PassportFile?, reverse_side: PassportFile?, selfie: PassportFile?, translation: List<PassportFile>?, hash: String) : TelegramModel

Contains information about documents or other Telegram Passport elements shared with the bot by the user.

Constructors

EncryptedPassportElement
Link copied to clipboard
fun EncryptedPassportElement(type: String, data: String? = null, phone_number: String? = null, email: String? = null, files: List<PassportFile>? = null, front_side: PassportFile? = null, reverse_side: PassportFile? = null, selfie: PassportFile? = null, translation: List<PassportFile>? = null, hash: String)

Properties

data
Link copied to clipboard
val data: String? = null
Optional.
email
Link copied to clipboard
val email: String? = null
Optional.
files
Link copied to clipboard
val files: List<PassportFile>? = null
Optional.
front_side
Link copied to clipboard
val front_side: PassportFile? = null
Optional.
hash
Link copied to clipboard
val hash: String
Base64-encoded element hash for using in PassportElementErrorUnspecified
phone_number
Link copied to clipboard
val phone_number: String? = null
Optional.
reverse_side
Link copied to clipboard
val reverse_side: PassportFile? = null
Optional.
selfie
Link copied to clipboard
val selfie: PassportFile? = null
Optional.
translation
Link copied to clipboard
val translation: List<PassportFile>? = null
Optional.
type
Link copied to clipboard
val type: String
Element type.