tgbot-cpp
Loading...
Searching...
No Matches
PassportFile.h
Go to the documentation of this file.
1#ifndef TGBOT_CPP_PASSPORTFILE_H
2#define TGBOT_CPP_PASSPORTFILE_H
3
4#include <memory>
5#include <string>
6
7namespace TgBot {
8
16
17public:
18 typedef std::shared_ptr<PassportFile> Ptr;
19
23 std::string fileId;
24
29 std::string fileUniqueId;
30
34 std::int32_t fileSize;
35
39 std::int32_t fileDate;
40};
41}
42
43#endif //TGBOT_CPP_PASSPORTFILE_H
This object represents a file uploaded to Telegram Passport. Currently all Telegram Passport files ar...
std::int32_t fileDate
Unix time when the file was uploaded.
std::int32_t fileSize
File size.
std::shared_ptr< PassportFile > Ptr
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....
Definition Api.h:39