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.
24 lines
357 B
24 lines
357 B
#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
|
|
|