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
348 B

9 years ago
#ifndef _TG_DOCUMENT_H_
#define _TG_DOCUMENT_H_
#include <json/json.h>
#include <string>
#include "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