You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
357 B
25 lines
357 B
9 years ago
|
#ifndef _TG_DOCUMENT_H_
|
||
|
#define _TG_DOCUMENT_H_
|
||
|
|
||
|
#include <json/json.h>
|
||
|
#include <string>
|
||
|
|
||
9 years ago
|
#include <Telegram/PhotoSize.h>
|
||
9 years ago
|
|
||
|
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
|