Files
QtTelegramBot/types/update.cpp
T

9 lines
190 B
C++
Raw Normal View History

2015-12-29 16:44:16 +01:00
#include "update.h"
using namespace Telegram;
Update::Update(QJsonObject update)
{
id = update.value("update_id").toInt();
message = Message(update.value("message").toObject());
}