/* 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 class DocumentData; namespace Ui { class GenericBox; } // namespace Ui namespace Window { class SessionController; } // namespace Window namespace Main { class Session; } // namespace Main void ShowStickerPreviewBox( not_null controller, not_null document); void DoubledLimitsPreviewBox( not_null box, not_null session); enum class PremiumPreview { MoreUpload, FasterDownload, VoiceToText, NoAds, Reactions, Stickers, AdvancedChatManagement, ProfileBadge, AnimatedUserpics, kCount, }; enum class ReactionDisableType { None, Group, Channel, }; void ShowPremiumPreviewBox( not_null controller, PremiumPreview section, const base::flat_map &disabled = {}); void ShowPremiumPreviewToBuy( not_null controller, PremiumPreview section, Fn hiddenCallback); void PremiumUnavailableBox(not_null box);