/* 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 "base/object_ptr.h" class PeerData; namespace Ui { class BoxContent; } // namespace Ui namespace Window { class SessionNavigation; } // namespace Window struct PeerShortInfoUserpic; struct PreparedShortInfoUserpic { rpl::producer value; Fn move; }; [[nodiscard]] object_ptr PrepareShortInfoBox( not_null peer, Fn open, Fn videoPaused); [[nodiscard]] object_ptr PrepareShortInfoBox( not_null peer, not_null navigation); [[nodiscard]] rpl::producer PrepareShortInfoStatus( not_null peer); [[nodiscard]] PreparedShortInfoUserpic PrepareShortInfoUserpic( not_null peer);