2023-10-11 01:53:59 +00:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
|
|
|
the official desktop application for the Telegram messaging service.
|
|
|
|
|
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "data/data_statistics.h"
|
|
|
|
|
|
|
|
namespace Info::Statistics {
|
|
|
|
|
|
|
|
struct SavedState final {
|
|
|
|
Data::AnyStatistics stats;
|
2023-11-28 02:30:16 +00:00
|
|
|
base::flat_map<Data::RecentPostId, QImage> recentPostPreviews;
|
2023-10-11 02:10:09 +00:00
|
|
|
Data::PublicForwardsSlice publicForwardsFirstSlice;
|
2023-11-08 21:53:31 +00:00
|
|
|
int recentPostsExpanded = 0;
|
2023-10-11 01:53:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace Info::Statistics
|