-
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
The file is a notification sound.
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.
File type; pass null if unknown.
TdApi.StorageStatisticsByFileType.fileType
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.
Preliminary uploads a file to the
cloud before sending it in a message,
which can be useful for uploading of
being recorded voice and video notes.
Contains the storage usage statistics
for a specific file type.