forked from moritzsternemann/QtTelegramBot
10 lines
190 B
C++
10 lines
190 B
C++
|
|
#include "update.h"
|
||
|
|
|
||
|
|
using namespace Telegram;
|
||
|
|
|
||
|
|
Update::Update(QJsonObject update)
|
||
|
|
{
|
||
|
|
id = update.value("update_id").toInt();
|
||
|
|
message = Message(update.value("message").toObject());
|
||
|
|
}
|