/* 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_types.h" namespace Data { struct Group { HistoryItemsList items; }; class Groups { public: void registerMessage(not_null item); void unregisterMessage(not_null item); const Group *find(not_null item) const; private: std::map _data; std::map _alias; }; } // namespace Data