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

Update API scheme.

This commit is contained in:
John Preston
2019-08-01 10:22:49 +01:00
parent 052e4bc508
commit abf49e1672
11 changed files with 21 additions and 18 deletions

View File

@@ -380,6 +380,7 @@ auto ApiWrap::fileRequest(const Data::FileLocation &location, int offset) {
return std::move(_mtp.request(MTPInvokeWithTakeout<MTPupload_GetFile>(
MTP_long(*_takeoutId),
MTPupload_GetFile(
MTP_flags(0),
location.data,
MTP_int(offset),
MTP_int(kFileChunkSize))