2017-09-26 11:49:16 +00:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
2018-01-03 10:23:14 +00:00
|
|
|
the official desktop application for the Telegram messaging service.
|
2017-09-26 11:49:16 +00:00
|
|
|
|
2018-01-03 10:23:14 +00:00
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
2017-09-26 11:49:16 +00:00
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "data/data_photo.h"
|
|
|
|
#include "data/data_document.h"
|
|
|
|
|
|
|
|
struct GameData {
|
2021-10-11 17:46:51 +00:00
|
|
|
GameData(not_null<Data::Session*> owner, const GameId &id);
|
2017-09-26 11:49:16 +00:00
|
|
|
|
2021-10-11 17:46:51 +00:00
|
|
|
const not_null<Data::Session*> owner;
|
2017-09-26 11:49:16 +00:00
|
|
|
GameId id = 0;
|
|
|
|
uint64 accessHash = 0;
|
|
|
|
QString shortName;
|
|
|
|
QString title;
|
|
|
|
QString description;
|
|
|
|
PhotoData *photo = nullptr;
|
|
|
|
DocumentData *document = nullptr;
|
|
|
|
};
|