LibTgBotPP
 All Classes Namespaces Files Functions Variables Typedefs Macros
Document.h
Go to the documentation of this file.
1 #ifndef _TG_DOCUMENT_H_
2 #define _TG_DOCUMENT_H_
3 
4 #include <json/json.h>
5 #include <string>
6 
7 #include <Telegram/PhotoSize.h>
8 
9 namespace Telegram {
10 
11  class Document {
12  public:
13  Document(Json::Value);
14 
15  private:
16  std::string file_id;
18  std::string file_name;
19  std::string mime_type;
20  Json::Int64 file_size;
21  };
22 }
23 
24 #endif
Json::Int64 file_size
Definition: Document.h:20
PhotoSize * thumb
Definition: Document.h:17
std::string file_id
Definition: Document.h:16
std::string file_name
Definition: Document.h:18
Document(Json::Value)
Definition: Document.cc:3
std::string mime_type
Definition: Document.h:19