/* 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 Main { class Session; } // namespace Main namespace Data { class Session; class CustomEmojiManager final { public: CustomEmojiManager(not_null owner); ~CustomEmojiManager(); [[nodiscard]] std::unique_ptr create( const QString &data); [[nodiscard]] Main::Session &session() const; [[nodiscard]] Session &owner() const; private: const not_null _owner; }; void FillTestCustomEmoji( not_null session, TextWithEntities &text); } // namespace Data