/* 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 "api/api_common.h" #include "base/object_ptr.h" #include "ui/text/text_entity.h" namespace Main { class Session; } // namespace Main namespace Ui { class ChatStyle; class GenericBox; class RpWidget; class Show; } // namespace Ui namespace HistoryView::Controls { struct ComposeAiBoxArgs { not_null session; TextWithEntities text; std::shared_ptr chatStyle; Fn apply; Fn)> send; Fn, Fn)> setupMenu; }; void ComposeAiBox(not_null box, ComposeAiBoxArgs &&args); void ShowComposeAiBox(std::shared_ptr show, ComposeAiBoxArgs &&args); } // namespace HistoryView::Controls