Uses of Class
org.drinkless.tdlib.TdApi.FileType
Packages that use TdApi.FileType
-
Uses of TdApi.FileType in org.drinkless.tdlib
Subclasses of TdApi.FileType in org.drinkless.tdlibModifier and TypeClassDescriptionstatic class
The file is an animation.static class
The file is an audio file.static class
The file is a document.static class
The data is not a file.static class
The file is a notification sound.static class
The file is a photo.static class
The file is a photo published as a story.static class
The file is a profile photo.static class
The file was sent to a secret chat (the file type is not known to the server).static class
The file is a thumbnail of a file from a secret chat.static class
The file is a file from Secure storage used for storing Telegram Passport files.static class
The file is a self-destructing photo in a private chat.static class
The file is a self-destructing video in a private chat.static class
The file is a self-destructing video note in a private chat.static class
The file is a self-destructing voice note in a private chat.static class
The file is a sticker.static class
The file is a thumbnail of another file.static class
The file type is not yet known.static class
The file is a video.static class
The file is a video note.static class
The file is a video published as a story.static class
The file is a voice note.static class
The file is a wallpaper or a background pattern.Fields in org.drinkless.tdlib declared as TdApi.FileTypeModifier and TypeFieldDescriptionTdApi.GetRemoteFile.fileType
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.PreliminaryUploadFile.fileType
File type; pass null if unknown.TdApi.StorageStatisticsByFileType.fileType
File type.TdApi.OptimizeStorage.fileTypes
If non-empty, only files with the given types are considered.Constructors in org.drinkless.tdlib with parameters of type TdApi.FileTypeModifierConstructorDescriptionGetRemoteFile
(String remoteFileId, TdApi.FileType fileType) Creates a function, which returns information about a file by its remote identifier.NetworkStatisticsEntryFile
(TdApi.FileType fileType, TdApi.NetworkType networkType, long sentBytes, long receivedBytes) 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) Creates a function, which optimizes storage usage, i.e. deletes some files and returns new storage usage statistics.PreliminaryUploadFile
(TdApi.InputFile file, TdApi.FileType fileType, int priority) Creates a function, which 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.StorageStatisticsByFileType
(TdApi.FileType fileType, long size, int count) Contains the storage usage statistics for a specific file type.