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

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

View File

@@ -116,7 +116,7 @@ public:
void cancel();
[[nodiscard]] bool cancelled() const;
[[nodiscard]] float64 progress() const;
[[nodiscard]] int loadOffset() const;
[[nodiscard]] int64 loadOffset() const;
[[nodiscard]] bool uploading() const;
[[nodiscard]] bool loadedInMediaCache() const;
void setLoadedInMediaCache(bool loaded);
@@ -260,11 +260,10 @@ public:
[[nodiscard]] bool inappPlaybackFailed() const;
DocumentId id = 0;
DocumentType type = FileDocument;
int64 size = 0;
QSize dimensions;
int32 date = 0;
int32 size = 0;
DocumentType type = FileDocument;
FileStatus status = FileReady;
std::unique_ptr<Data::UploadState> uploadingData;