tdesktop/Telegram/SourceFiles/info/statistics/info_statistics_common.h

22 lines
556 B
C++

/*
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;
base::flat_map<Data::RecentPostId, QImage> recentPostPreviews;
Data::PublicForwardsSlice publicForwardsFirstSlice;
int recentPostsExpanded = 0;
};
} // namespace Info::Statistics