/* 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 namespace Dialogs { struct UnreadState; } // namespace Dialogs namespace Main { class Session; } // namespace Main namespace Data { [[nodiscard]] Dialogs::UnreadState MainListMapUnreadState( not_null session, const Dialogs::UnreadState &state); [[nodiscard]] rpl::producer UnreadStateValue( not_null session, FilterId filterId); [[nodiscard]] rpl::producer IncludeMutedCounterFoldersValue(); } // namespace Data