2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-01 23:25:15 +00:00

Update API scheme to layer 102.

This commit is contained in:
John Preston
2019-06-06 18:42:15 +03:00
parent 37df26fc34
commit 14b82698f8
12 changed files with 113 additions and 84 deletions

View File

@@ -779,6 +779,8 @@ bool Widget::onSearchMessages(bool searchCache) {
} else {
_searchRequest = MTP::send(
MTPmessages_SearchGlobal(
MTP_flags(0),
MTP_int(0), // folder_id
MTP_string(_searchQuery),
MTP_int(0),
MTP_inputPeerEmpty(),
@@ -916,6 +918,8 @@ void Widget::onSearchMore() {
} else {
_searchRequest = MTP::send(
MTPmessages_SearchGlobal(
MTP_flags(0),
MTP_int(0), // folder_id
MTP_string(_searchQuery),
MTP_int(_searchNextRate),
offsetPeer