Uses of Class
org.drinkless.tdlib.TdApi.FileType
-
Packages that use TdApi.FileType Package Description org.drinkless.tdlib -
-
Uses of TdApi.FileType in org.drinkless.tdlib
Subclasses of TdApi.FileType in org.drinkless.tdlib Modifier and Type Class Description static classTdApi.FileTypeAnimationThe file is an animation.static classTdApi.FileTypeAudioThe file is an audio file.static classTdApi.FileTypeDocumentThe file is a document.static classTdApi.FileTypeNoneThe data is not a file.static classTdApi.FileTypePhotoThe file is a photo.static classTdApi.FileTypeProfilePhotoThe file is a profile photo.static classTdApi.FileTypeSecretThe file was sent to a secret chat (the file type is not known to the server).static classTdApi.FileTypeSecretThumbnailThe file is a thumbnail of a file from a secret chat.static classTdApi.FileTypeSecureThe file is a file from Secure storage used for storing Telegram Passport files.static classTdApi.FileTypeStickerThe file is a sticker.static classTdApi.FileTypeThumbnailThe file is a thumbnail of another file.static classTdApi.FileTypeUnknownThe file type is not yet known.static classTdApi.FileTypeVideoThe file is a video.static classTdApi.FileTypeVideoNoteThe file is a video note.static classTdApi.FileTypeVoiceNoteThe file is a voice note.static classTdApi.FileTypeWallpaperThe file is a wallpaper or a background pattern.Fields in org.drinkless.tdlib declared as TdApi.FileType Modifier and Type Field Description TdApi.FileTypeTdApi.GetRemoteFile. fileTypeFile type; pass null if unknown.TdApi.FileTypeTdApi.NetworkStatisticsEntryFile. fileTypeType of the file the data is part of; pass null if the data isn't related to files.TdApi.FileTypeTdApi.StorageStatisticsByFileType. fileTypeFile type.TdApi.FileTypeTdApi.UploadFile. fileTypeFile type; pass null if unknown.TdApi.FileType[]TdApi.OptimizeStorage. fileTypesIf non-empty, only files with the given types are considered.Constructors in org.drinkless.tdlib with parameters of type TdApi.FileType Constructor Description GetRemoteFile(String remoteFileId, TdApi.FileType fileType)Creates a function, which returns information about a file by its remote ID; this is an offline request.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.StorageStatisticsByFileType(TdApi.FileType fileType, long size, int count)Contains the storage usage statistics for a specific file type.UploadFile(TdApi.InputFile file, TdApi.FileType fileType, int priority)Creates a function, which asynchronously uploads a file to the cloud without sending it in a message.
-