PassportFile

telegramium.bots.PassportFile
final case class PassportFile(fileId: String, fileUniqueId: String, fileSize: Long, fileDate: Int)

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.

Value parameters

fileDate

Unix time when the file was uploaded

fileId

Identifier for this file, which can be used to download or reuse the file

fileSize

File size in bytes

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.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product