mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-05-03 14:34:24 +02:00
30 lines
736 B
C++
30 lines
736 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
|
|
|
|
namespace Dialogs {
|
|
struct UnreadState;
|
|
} // namespace Dialogs
|
|
|
|
namespace Main {
|
|
class Session;
|
|
} // namespace Main
|
|
|
|
namespace Data {
|
|
|
|
[[nodiscard]] Dialogs::UnreadState MainListMapUnreadState(
|
|
not_null<Main::Session*> session,
|
|
const Dialogs::UnreadState &state);
|
|
|
|
[[nodiscard]] rpl::producer<Dialogs::UnreadState> UnreadStateValue(
|
|
not_null<Main::Session*> session,
|
|
FilterId filterId);
|
|
|
|
[[nodiscard]] rpl::producer<bool> IncludeMutedCounterFoldersValue();
|
|
|
|
} // namespace Data
|