Update API scheme to layer 164.

This commit is contained in:
John Preston
2023-08-31 12:58:34 +04:00
parent 1bde096417
commit d5b429e910
37 changed files with 586 additions and 358 deletions
+1 -5
View File
@@ -78,12 +78,8 @@ void SendReport(
MTP_string(comment)
)).done(std::move(done)).send();
}, [&](StoryId id) {
const auto user = peer->asUser();
if (!user) {
return;
}
peer->session().api().request(MTPstories_Report(
user->inputUser,
peer->input,
MTP_vector<MTPint>(1, MTP_int(id)),
ReasonToTL(reason),
MTP_string(comment)