passport_file_t#

struct banana::api::passport_file_t#

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.

string_t file_id#

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

string_t file_unique_id#

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.

integer_t file_size#

File size

integer_t file_date#

Unix time when the file was uploaded