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.

11 lines
325 B

#include "Telegram/Document.h"
9 years ago
Telegram::Document::Document(Json::Value json) {
this->file_id = json["file_id"].asString();
this->thumb = new PhotoSize(json["thumb"]);
this->file_name = json["file_name"].asString();
this->mime_type = json["mime_type"].asString();
this->file_size = json["file_size"].asInt64();
}