Update API scheme to layer 143.

This commit is contained in:
John Preston
2022-05-10 18:22:28 +04:00
parent dd05fb4d14
commit 6dedf7c63e
81 changed files with 595 additions and 458 deletions
+3 -3
View File
@@ -41,7 +41,7 @@ SendMediaReady PrepareRingtoneDocument(
MTP_bytes(),
MTP_int(base::unixtime::now()),
MTP_string(filemime),
MTP_int(content.size()),
MTP_long(content.size()),
MTP_vector<MTPPhotoSize>(),
MTPVector<MTPVideoSize>(),
MTP_int(dcId),
@@ -191,8 +191,8 @@ void Ringtones::remove(DocumentId id) {
}
}
int Ringtones::maxSize() const {
return int(base::SafeRound(_session->account().appConfig().get<double>(
int64 Ringtones::maxSize() const {
return int64(base::SafeRound(_session->account().appConfig().get<double>(
"ringtone_size_max",
100 * 1024)));
}