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.
|
|
|
#include "Telegram/Voice.h"
|
|
|
|
|
|
|
|
Telegram::Voice::Voice(Json::Value json) {
|
|
|
|
|
|
|
|
this->file_id = json["file_id"].asString();
|
|
|
|
this->duration = json["duration"].asInt64();
|
|
|
|
this->mime_type = json["mime_type"].asString();
|
|
|
|
this->file_size = json["file_size"].asInt64();
|
|
|
|
}
|