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.

27 lines
391 B

9 years ago
#ifndef _TG_VIDEO_H_
#define _TG_VIDEO_H_
#include <json/json.h>
#include <string>
#include <Telegram/PhotoSize.h>
9 years ago
namespace Telegram {
class Video {
public:
Video(Json::Value);
private:
std::string file_id;
Json::Int64 width;
Json::Int64 height;
Json::Int64 duration;
PhotoSize *thumb;
std::string mime_type;
Json::Int64 file_size;
};
}
#endif