tgbot-cpp
|
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. More...
#include <PassportFile.h>
Public Types | |
typedef std::shared_ptr< PassportFile > | Ptr |
Public Attributes | |
std::string | fileId |
Identifier for this file, which can be used to download or reuse the file. | |
std::string | 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. | |
std::int32_t | fileSize |
File size. | |
std::int32_t | fileDate |
Unix time when the file was uploaded. | |
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.
Definition at line 15 of file PassportFile.h.
typedef std::shared_ptr<PassportFile> TgBot::PassportFile::Ptr |
Definition at line 18 of file PassportFile.h.
std::int32_t TgBot::PassportFile::fileDate |
Unix time when the file was uploaded.
Definition at line 39 of file PassportFile.h.
std::string TgBot::PassportFile::fileId |
Identifier for this file, which can be used to download or reuse the file.
Definition at line 23 of file PassportFile.h.
std::int32_t TgBot::PassportFile::fileSize |
File size.
Definition at line 34 of file PassportFile.h.
std::string TgBot::PassportFile::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.
Definition at line 29 of file PassportFile.h.