PassportFile

data class PassportFile(    val fileId: FileId,     val fileUniqueId: FileUniqueId,     val uploadingDate: TelegramDate,     val fileSize: Long? = null) : TelegramMediaFile

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.

Constructors

Link copied to clipboard
fun PassportFile(    fileId: FileId,     fileUniqueId: FileUniqueId,     uploadingDate: TelegramDate,     fileSize: Long? = null)

Properties

Link copied to clipboard
open override val fileId: FileId
Link copied to clipboard
open override val fileSize: Long? = null
Link copied to clipboard
open override val fileUniqueId: FileUniqueId
Link copied to clipboard
val uploadingDate: TelegramDate