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 <Types.h>
|
| 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 in bytes.
|
| 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 10711 of file Types.h.
◆ Ptr
◆ fileDate
| std::int32_t TgBot::PassportFile::fileDate { } |
Unix time when the file was uploaded.
Definition at line 10733 of file Types.h.
◆ fileId
| std::string TgBot::PassportFile::fileId { } |
Identifier for this file, which can be used to download or reuse the file.
Definition at line 10717 of file Types.h.
◆ fileSize
| std::int32_t TgBot::PassportFile::fileSize { } |
◆ fileUniqueId
| 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 10723 of file Types.h.
The documentation for this struct was generated from the following file: