Passport Data
data class PassportData(data: List<EncryptedPassportElement>, credentials: EncryptedCredentials)
Content copied to clipboard
Contains information about Telegram Passport data shared with the bot by the user.
Parameters
data
Array with information about documents and other Telegram Passport elements that was shared with the bot
credentials
Encrypted credentials required to decrypt the data
Constructors
PassportData
Link copied to clipboard
fun PassportData(data: List<EncryptedPassportElement> = emptyList(), credentials: EncryptedCredentials)
Content copied to clipboard
Array with information about documents and other Telegram Passport elements that was shared with the bot
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
copy
Link copied to clipboard
fun copy(data: List<EncryptedPassportElement> = emptyList(), credentials: EncryptedCredentials): PassportData
Content copied to clipboard