2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Update API scheme to layer 134.

This commit is contained in:
John Preston
2021-10-10 14:43:55 +04:00
parent 66a83d3862
commit 185523f66f
11 changed files with 124 additions and 48 deletions

View File

@@ -515,8 +515,10 @@ void Controller::loadMoreRows() {
return;
}
_requestId = _api.request(MTPmessages_GetChatInviteImporters(
MTP_flags(0),
_peer->input,
MTP_string(_link),
MTPstring(), // q // #TODO requests
MTP_int(_lastUser ? _lastUser->date : 0),
_lastUser ? _lastUser->user->inputUser : MTP_inputUserEmpty(),
MTP_int(_lastUser ? kPerPage : kFirstPage)