mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-05-01 13:34:05 +02:00
33 lines
766 B
C++
33 lines
766 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;
|
|
|
|
namespace Ui {
|
|
class BoxContent;
|
|
class Show;
|
|
} // namespace Ui
|
|
|
|
namespace style {
|
|
struct ReportBox;
|
|
} // namespace style
|
|
|
|
class PeerData;
|
|
|
|
[[nodiscard]] object_ptr<Ui::BoxContent> ReportProfilePhotoBox(
|
|
not_null<PeerData*> peer,
|
|
not_null<PhotoData*> photo);
|
|
|
|
void ShowReportMessageBox(
|
|
std::shared_ptr<Ui::Show> show,
|
|
not_null<PeerData*> peer,
|
|
const std::vector<MsgId> &ids,
|
|
const std::vector<StoryId> &stories,
|
|
const style::ReportBox *stOverride = nullptr);
|