Added api support for reports with server options.

This commit is contained in:
23rd
2024-09-26 23:30:33 +03:00
committed by John Preston
parent 00215622cc
commit 3edf8e10e2
24 changed files with 419 additions and 233 deletions

View File

@@ -32,6 +32,7 @@ class Thread;
class WallPaper;
struct ForwardDraft;
class Forum;
struct ReportInput;
} // namespace Data
namespace Dialogs {
@@ -61,7 +62,6 @@ namespace Ui {
class ChatTheme;
class ResizeArea;
class PlainShadow;
enum class ReportReason;
template <typename Widget>
class SlideWrap;
} // namespace Ui
@@ -179,8 +179,8 @@ public:
void showChooseReportMessages(
not_null<PeerData*> peer,
Ui::ReportReason reason,
Fn<void(MessageIdsList)> done);
Data::ReportInput reportInput,
Fn<void(std::vector<MsgId>)> done);
void clearChooseReportMessages();
void toggleChooseChatTheme(