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
@@ -2412,9 +2412,9 @@ void SessionController::clearPassportForm() {
void SessionController::showChooseReportMessages(
not_null<PeerData*> peer,
Ui::ReportReason reason,
Fn<void(MessageIdsList)> done) const {
content()->showChooseReportMessages(peer, reason, std::move(done));
Data::ReportInput reportInput,
Fn<void(std::vector<MsgId>)> done) const {
content()->showChooseReportMessages(peer, reportInput, std::move(done));
}
void SessionController::clearChooseReportMessages() const {