tgbot-cpp
File.h
Go to the documentation of this file.
1 //
2 // Created by Konstantin Kukin on 26/12/16.
3 //
4 
5 #ifndef TGBOT_CPP_FILE_H
6 #define TGBOT_CPP_FILE_H
7 
8 #include <string>
9 #include <memory>
10 
11 namespace TgBot {
12 
23 class File {
24 
25 public:
26  typedef std::shared_ptr<File> Ptr;
27 
31  std::string fileId;
32 
36  int32_t fileSize;
37 
43  std::string filePath;
44 };
45 
46 }
47 
48 #endif //TGBOT_CPP_FILE_H
std::shared_ptr< File > Ptr
Definition: File.h:26
std::string filePath
Optional. File path.
Definition: File.h:43
This object represents a file ready to be downloaded.
Definition: File.h:23
int32_t fileSize
Optional. File size, if known.
Definition: File.h:36
Definition: Api.h:47
std::string fileId
Unique identifier for this file.
Definition: File.h:31