LibTgBotPP
Main Page
Namespaces
Classes
Files
File List
File Members
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
;
17
PhotoSize
*
thumb
;
18
std::string
file_name
;
19
std::string
mime_type
;
20
Json::Int64
file_size
;
21
};
22
}
23
24
#endif
Telegram::Document
Definition:
Document.h:11
Telegram::Document::file_size
Json::Int64 file_size
Definition:
Document.h:20
Telegram::PhotoSize
Definition:
PhotoSize.h:9
Telegram::Document::thumb
PhotoSize * thumb
Definition:
Document.h:17
Telegram::Document::file_id
std::string file_id
Definition:
Document.h:16
Telegram::Document::file_name
std::string file_name
Definition:
Document.h:18
PhotoSize.h
Telegram::Document::Document
Document(Json::Value)
Definition:
Document.cc:3
Telegram::Document::mime_type
std::string mime_type
Definition:
Document.h:19
include
Telegram
Document.h
Generated on Tue Jun 6 2017 14:48:45 for LibTgBotPP by
1.8.6