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 classThe file is an animation.static classThe file is an audio file.static classThe file is a document.static classThe data is not a file.static classThe file is a notification sound.static classThe file is a photo.static classThe file is a photo published as a story.static classThe file is a profile photo.static classThe file was sent to a secret chat (the file type is not known to the server).static classThe file is a thumbnail of a file from a secret chat.static classThe file is a file from Secure storage used for storing Telegram Passport files.static classThe file is a self-destructing photo in a private chat.static classThe file is a self-destructing video in a private chat.static classThe file is a self-destructing video note in a private chat.static classThe file is a self-destructing voice note in a private chat.static classThe file is a sticker.static classThe file is a thumbnail of another file.static classThe file type is not yet known.static classThe file is a video.static classThe file is a video note.static classThe file is a video published as a story.static classThe file is a voice note.static classThe file is a wallpaper or a background pattern.Fields in org.drinkless.tdlib declared as TdApi.FileTypeModifier and TypeFieldDescriptionTdApi.GetRemoteFile.fileTypeFile type; pass null if unknown.TdApi.NetworkStatisticsEntryFile.fileTypeType of the file the data is part of; pass null if the data isn't related to files.TdApi.PreliminaryUploadFile.fileTypeFile type; pass null if unknown.TdApi.StorageStatisticsByFileType.fileTypeFile type.TdApi.OptimizeStorage.fileTypesIf 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.