mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-05-23 00:04:02 +02:00
40 lines
923 B
C++
40 lines
923 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
|
|
|
|
class PeerData;
|
|
|
|
namespace Ui {
|
|
class VerticalLayout;
|
|
} // namespace Ui
|
|
|
|
namespace Api {
|
|
class MessageStatistics;
|
|
} // namespace Api
|
|
|
|
namespace Data {
|
|
struct SupergroupStatistics;
|
|
} // namespace Data
|
|
|
|
namespace Info::Statistics {
|
|
|
|
void AddPublicForwards(
|
|
const Api::MessageStatistics &firstSliceHolder,
|
|
not_null<Ui::VerticalLayout*> container,
|
|
Fn<void(FullMsgId)> showPeerHistory,
|
|
not_null<PeerData*> peer,
|
|
FullMsgId contextId);
|
|
|
|
void AddMembersList(
|
|
Data::SupergroupStatistics data,
|
|
not_null<Ui::VerticalLayout*> container,
|
|
Fn<void(not_null<PeerData*>)> showPeerInfo,
|
|
not_null<PeerData*> peer,
|
|
rpl::producer<QString> title);
|
|
|
|
} // namespace Info::Statistics
|