/* 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 "ui/layers/generic_box.h" namespace Main { class Session; } // namespace Main namespace Window { class SessionNavigation; } // namespace Window void ChannelsLimitBox( not_null box, not_null session); void PublicLinksLimitBox( not_null box, not_null navigation); void FilterChatsLimitBox( not_null box, not_null session); void FiltersLimitBox( not_null box, not_null session); void FilterPinsLimitBox( not_null box, not_null session); void FolderPinsLimitBox( not_null box, not_null session); void PinsLimitBox( not_null box, not_null session); void CaptionLimitBox( not_null box, not_null session); void CaptionLimitReachedBox( not_null box, not_null session, int remove); [[nodiscard]] int AppConfigLimit( not_null session, const QString &key, int fallback); [[nodiscard]] int CurrentPremiumLimit( not_null session, const QString &keyDefault, int limitDefault, const QString &keyPremium, int limitPremium);