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
316 B
11 lines
316 B
9 years ago
|
#include "Document.h"
|
||
|
|
||
|
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();
|
||
|
}
|