AyuGramDesktop/Telegram/SourceFiles/ui/widgets/peer_bubble.h

26 lines
542 B
C++

/*
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
template <typename Object>
class object_ptr;
class PeerData;
namespace Ui {
class RpWidget;
class VerticalLayout;
} // namespace Ui
namespace Ui {
[[nodiscard]] object_ptr<Ui::RpWidget> CreatePeerBubble(
not_null<Ui::RpWidget*> parent,
not_null<PeerData*> peer);
} // namespace Ui