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
@@ -2761,9 +2761,9 @@ void Widget::searchTopics() {
return;
}
_api.request(base::take(_topicSearchRequest)).cancel();
_topicSearchRequest = _api.request(MTPchannels_GetForumTopics(
MTP_flags(MTPchannels_GetForumTopics::Flag::f_q),
_openedForum->channel()->inputChannel,
_topicSearchRequest = _api.request(MTPmessages_GetForumTopics(
MTP_flags(MTPmessages_GetForumTopics::Flag::f_q),
_openedForum->channel()->input,
MTP_string(_topicSearchQuery),
MTP_int(_topicSearchOffsetDate),
MTP_int(_topicSearchOffsetId),