Files

12 lines
280 B
C++
Raw Permalink Normal View History

2015-12-29 16:44:16 +01:00
#include "voice.h"
using namespace Telegram;
Voice::Voice(QJsonObject voice)
{
fileId = voice.value("file_id").toString();
duration = voice.value("duration").toInt();
mimeType = voice.value("mime_type").toString();
fileSize = voice.value("file_size").toInt();
}