Encrypted Passport Element
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
Content copied to clipboard
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)
Content copied to clipboard
Creates a EncryptedPassportElement.
Properties
files
Link copied to clipboard
front_side
Link copied to clipboard
hash
Link copied to clipboard
Base64-encoded element hash for using in PassportElementErrorUnspecified
phone_number
Link copied to clipboard
reverse_side
Link copied to clipboard
selfie
Link copied to clipboard
translation
Link copied to clipboard