-
static final class
The file is an animation.
static final class
The file is an audio file.
static final class
static final class
static final class
static final class
The file is a profile photo.
static final class
The file was sent to a secret chat
(the file type is not known to the server).
static final class
The file is a thumbnail of a file from
a secret chat.
static final class
The file is a file from Secure storage
used for storing Telegram Passport files.
static final class
static final class
The file is a thumbnail of another file.
static final class
The file type is not yet known.
static final class
static final class
The file is a video note.
static final class
The file is a voice note.
static final class
The file is a wallpaper or a background pattern.
File type; pass null if unknown.
TdApi.NetworkStatisticsEntryFile.fileType
Type of the file the data is part of;
pass null if the data isn't related to files.
TdApi.StorageStatisticsByFileType.fileType
File type; pass null if unknown.
If non-empty, only files with the
given types are considered.
Returns information about a file by
its remote ID; this is an offline
request.
Contains information about the total
amount of data that was used to send
and receive files.
OptimizeStorage(long size,
int ttl,
int count,
int immunityDelay,
TdApi.FileType[] fileTypes,
long[] chatIds,
long[] excludeChatIds,
boolean returnDeletedFileStatistics,
int chatLimit)
Optimizes storage usage, i.e.
Contains the storage usage statistics
for a specific file type.
Asynchronously uploads a file to the
cloud without sending it in a message.