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

26 lines
587 B
C
Raw Normal View History

2021-10-14 10:17:03 +00:00
/*
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;
2021-10-14 10:17:03 +00:00
[[nodiscard]] rpl::producer<Ui::RequestsBarContent> RequestsBarContentByPeer(
not_null<PeerData*> peer,
int userpicSize,
bool showInForum);
2021-10-14 10:17:03 +00:00
} // namespace HistoryView