/* 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 "base/object_ptr.h" namespace Main { class Session; } // namespace Main namespace Ui { class GenericBox; } // namespace Ui namespace ChatHelpers { class Show; } // namespace ChatHelpers namespace Iv { struct RichPage; } // namespace Iv namespace Iv::Editor { struct CreateAiBoxArgs { not_null session; Fn)> applyToPage; }; void CreateAiBox(not_null box, CreateAiBoxArgs &&args); void ShowCreateAiBox( std::shared_ptr show, CreateAiBoxArgs &&args); } // namespace Iv::Editor