/* 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 Data { enum class StorySourcesList : uchar; class Story; } // namespace Data namespace Main { class Session; } // namespace Main namespace Window { class SessionController; } // namespace Window namespace Dialogs::Stories { struct Content; class Thumbnail; struct ShowMenuRequest; [[nodiscard]] rpl::producer ContentForSession( not_null session, Data::StorySourcesList list); [[nodiscard]] rpl::producer LastForPeer(not_null peer); [[nodiscard]] std::shared_ptr MakeUserpicThumbnail( not_null peer); [[nodiscard]] std::shared_ptr MakeStoryThumbnail( not_null story); void FillSourceMenu( not_null controller, const ShowMenuRequest &request); } // namespace Dialogs::Stories