tdesktop/Telegram/SourceFiles/history/view/history_view_requests_bar.h

25 lines
568 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
#include "ui/rp_widget.h"
namespace Ui {
struct RequestsBarContent;
} // namespace Ui
namespace HistoryView {
inline constexpr auto kRecentRequestsLimit = 3;
[[nodiscard]] rpl::producer<Ui::RequestsBarContent> RequestsBarContentByPeer(
not_null<PeerData*> peer,
int userpicSize);
} // namespace HistoryView