/* 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 struct HistoryMessageSuggestion; namespace Window { class SessionController; } // namespace Window namespace ChatHelpers { class Show; } // namespace ChatHelpers namespace Data { struct UniqueGift; class SavedStarGiftId; } // namespace Data namespace Ui { class ChatTheme; } // namespace Ui void ShowTransferToBox( not_null controller, not_null peer, std::shared_ptr gift, Data::SavedStarGiftId savedId, Fn closeParentBox); void ShowTransferGiftBox( not_null window, std::shared_ptr gift, Data::SavedStarGiftId savedId); void ShowGiftSaleAcceptBox( not_null controller, not_null item, not_null suggestion); void ShowGiftSaleRejectBox( not_null controller, not_null item, not_null suggestion); void ShowBuyResaleGiftBox( std::shared_ptr show, std::shared_ptr gift, bool forceTon, not_null to, Fn closeParentBox); bool ShowResaleGiftLater( std::shared_ptr show, std::shared_ptr gift); bool ShowTransferGiftLater( std::shared_ptr show, std::shared_ptr gift); void SetThemeFromUniqueGift( not_null window, std::shared_ptr unique); void SendPeerThemeChangeRequest( not_null controller, not_null peer, const QString &token, const std::shared_ptr &unique, bool locallySet = false); void SetPeerTheme( not_null controller, not_null peer, const QString &token, const std::shared_ptr &theme); void ShowActionLocked( std::shared_ptr show, const QString &slug);