mirror of
https://github.com/moritzsternemann/QtTelegramBot.git
synced 2026-05-04 11:54:16 +02:00
10 lines
205 B
C++
10 lines
205 B
C++
#include "location.h"
|
|
|
|
using namespace Telegram;
|
|
|
|
Location::Location(QJsonObject location)
|
|
{
|
|
longitude = location.value("longitude").toDouble();
|
|
latitude = location.value("latitude").toDouble();
|
|
}
|