/* 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 class PeerData; namespace Data { class Story; class Session; } // namespace Data namespace Ui { class DynamicImage; [[nodiscard]] std::shared_ptr MakeUserpicThumbnail( not_null peer, bool forceRound = false); [[nodiscard]] std::shared_ptr MakeSavedMessagesThumbnail(); [[nodiscard]] std::shared_ptr MakeRepliesThumbnail(); [[nodiscard]] std::shared_ptr MakeStoryThumbnail( not_null story); [[nodiscard]] std::shared_ptr MakeIconThumbnail( const style::icon &icon); [[nodiscard]] std::shared_ptr MakeEmojiThumbnail( not_null owner, const QString &data); } // namespace Ui