Update API scheme to layer 216.

This commit is contained in:
John Preston
2025-09-05 11:51:37 +04:00
parent d30dd7450f
commit 6974c511ea
10 changed files with 37 additions and 33 deletions
@@ -463,9 +463,9 @@ void ForumTopic::setClosedAndSave(bool closed) {
const auto api = &session().api();
const auto weak = base::make_weak(this);
api->request(MTPchannels_EditForumTopic(
MTP_flags(MTPchannels_EditForumTopic::Flag::f_closed),
channel()->inputChannel,
api->request(MTPmessages_EditForumTopic(
MTP_flags(MTPmessages_EditForumTopic::Flag::f_closed),
channel()->input,
MTP_int(_rootId),
MTPstring(), // title
MTPlong(), // icon_emoji_id