forked from moritzsternemann/QtTelegramBot
Initial commit
This commit is contained in:
commit
3663fd38ce
41 files changed
+2095
No files matched your search
@@ -0,0 +1,11 @@
|
||||
#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();
|
||||
}
|
||||
Reference in new issue
Block a user