LibTgBotPP/include/Telegram/Document.h
2016-04-30 07:18:32 +02:00

25 lines
357 B
C++

#ifndef _TG_DOCUMENT_H_
#define _TG_DOCUMENT_H_
#include <json/json.h>
#include <string>
#include <Telegram/PhotoSize.h>
namespace Telegram {
class Document {
public:
Document(Json::Value);
private:
std::string file_id;
PhotoSize *thumb;
std::string file_name;
std::string mime_type;
Json::Int64 file_size;
};
}
#endif