/* 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 Window { class SessionController; } // namespace Window namespace ChatHelpers { class Show; } // namespace ChatHelpers namespace Data { struct UniqueGift; class SavedStarGiftId; } // namespace Data 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 ShowBuyResaleGiftBox( std::shared_ptr show, std::shared_ptr gift, 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);