2022-04-17 10:16:48 +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
|
|
|
|
|
|
|
|
class PeerData;
|
2022-04-17 11:48:53 +00:00
|
|
|
class PhotoData;
|
2022-04-17 10:16:48 +00:00
|
|
|
|
|
|
|
namespace Ui {
|
2023-05-02 09:33:19 +00:00
|
|
|
class Show;
|
2022-04-17 10:16:48 +00:00
|
|
|
enum class ReportReason;
|
|
|
|
} // namespace Ui
|
|
|
|
|
|
|
|
namespace Api {
|
|
|
|
|
|
|
|
void SendReport(
|
2023-05-02 09:33:19 +00:00
|
|
|
std::shared_ptr<Ui::Show> show,
|
2022-04-17 10:16:48 +00:00
|
|
|
not_null<PeerData*> peer,
|
|
|
|
Ui::ReportReason reason,
|
|
|
|
const QString &comment,
|
2023-06-22 15:29:11 +00:00
|
|
|
std::variant<
|
|
|
|
v::null_t,
|
|
|
|
MessageIdsList,
|
|
|
|
not_null<PhotoData*>,
|
|
|
|
StoryId> data);
|
2022-04-17 10:16:48 +00:00
|
|
|
|
|
|
|
} // namespace Api
|