2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Update API scheme to layer 159.

This commit is contained in:
John Preston
2023-04-28 17:43:57 +04:00
parent 59bb46aa40
commit 29d0c8c2ec
8 changed files with 63 additions and 57 deletions

View File

@@ -677,9 +677,11 @@ void Updates::getDifference() {
api().request(MTPupdates_GetDifference(
MTP_flags(0),
MTP_int(_ptsWaiter.current()),
MTPint(),
MTPint(), // pts_limit
MTPint(), // pts_total_limit
MTP_int(_updatesDate),
MTP_int(_updatesQts)
MTP_int(_updatesQts),
MTPint() // qts_limit
)).done([=](const MTPupdates_Difference &result) {
differenceDone(result);
}).fail([=](const MTP::Error &error) {