PassportData

@Serializable
data class PassportData(val data: List<EncryptedPassportElement>, val credentials: EncryptedCredentials)

Describes Telegram Passport data shared with the bot by the user.

Api reference

Constructors

Link copied to clipboard
constructor(data: List<EncryptedPassportElement>, credentials: EncryptedCredentials)

Properties

Link copied to clipboard

Encrypted credentials required to decrypt the data

Link copied to clipboard

Array with information about documents and other Telegram Passport elements that was shared with the bot