/* 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 "ui/layers/generic_box.h" class History; namespace Data { struct TopicIconDescriptor; enum class CustomEmojiSizeTag : uchar; } // namespace Data namespace Ui::Text { class CustomEmoji; } // namespace Ui::Text namespace Window { class SessionController; } // namespace Window void NewForumTopicBox( not_null box, not_null controller, not_null forum); void EditForumTopicBox( not_null box, not_null controller, not_null forum, MsgId rootId); [[nodiscard]] std::unique_ptr MakeTopicIconEmoji( Data::TopicIconDescriptor descriptor, Fn repaint, Data::CustomEmojiSizeTag tag);