| 123456789101112131415161718192021222324252627282930313233 |
- /*
- 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);
|