info_statistics_common.h 556 B

123456789101112131415161718192021
  1. /*
  2. This file is part of Telegram Desktop,
  3. the official desktop application for the Telegram messaging service.
  4. For license and copyright information please follow this link:
  5. https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
  6. */
  7. #pragma once
  8. #include "data/data_statistics.h"
  9. namespace Info::Statistics {
  10. struct SavedState final {
  11. Data::AnyStatistics stats;
  12. base::flat_map<Data::RecentPostId, QImage> recentPostPreviews;
  13. Data::PublicForwardsSlice publicForwardsFirstSlice;
  14. int recentPostsExpanded = 0;
  15. };
  16. } // namespace Info::Statistics