Passport File
data class PassportFile(fileId: String, fileUniqueId: String, fileSize: Int, fileDate: Int)
Content copied to clipboard
This object represents a file uploaded to Telegram Passport. Currently all Telegram Passport files are in JPEG format when decrypted and don't exceed 10MB.
Parameters
fileId
Identifier for this file, which can be used to download or reuse the file
fileUniqueId
Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.
fileSize
File size
fileDate
Unix time when the file was uploaded
Constructors
PassportFile
Link copied to clipboard
fun PassportFile(fileId: String, fileUniqueId: String, fileSize: Int, fileDate: Int)
Content copied to clipboard
Identifier for this file, which can be used to download or reuse the file
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
component4
Link copied to clipboard