250 lines
16 KiB
HTML
250 lines
16 KiB
HTML
<!DOCTYPE HTML>
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (17) -->
|
|
<title>Uses of Class it.tdlight.jni.TdApi.FileType (TDLight API 4.0.395 API)</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"><style>
|
|
#memberSummary_tabpanel{overflow-x: auto;}
|
|
li.blockList{overflow-x: auto;}
|
|
td.colLast div{max-width:30vw;}
|
|
#search{width: 400px;max-width: 65vw;}
|
|
.title,.subTitle,pre,.inheritance,h1,h2,h3,h4,h5,.memberSummary,.memberSignature,.typeSummary,.blockList,.contentContainer{white-space:normal;word-break:break-word;}
|
|
ul{padding-left:10px}
|
|
</style>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<meta name="description" content="use: module: tdlight.api, package: it.tdlight.jni, class: TdApi, class: FileType">
|
|
<meta name="generator" content="javadoc/ClassUseWriter">
|
|
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../../../script-dir/jquery-ui.min.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../../../jquery-ui.overrides.css" title="Style">
|
|
<script type="text/javascript" src="../../../../../script.js"></script>
|
|
<script type="text/javascript" src="../../../../../script-dir/jquery-3.6.1.min.js"></script>
|
|
<script type="text/javascript" src="../../../../../script-dir/jquery-ui.min.js"></script>
|
|
</head>
|
|
<body class="class-use-page">
|
|
<script type="text/javascript">var pathtoroot = "../../../../../";
|
|
loadScripts(document, 'script');</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<div class="flex-box">
|
|
<header role="banner" class="flex-header">
|
|
<nav role="navigation">
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="top-nav" id="navbar-top">
|
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
|
<li><a href="../../../../module-summary.html">Module</a></li>
|
|
<li><a href="../package-summary.html">Package</a></li>
|
|
<li><a href="../TdApi.FileType.html" title="class in it.tdlight.jni">Class</a></li>
|
|
<li class="nav-bar-cell1-rev">Use</li>
|
|
<li><a href="../package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../../help-doc.html#use">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="sub-nav">
|
|
<div class="nav-list-search"><label for="search-input">SEARCH:</label>
|
|
<input type="text" id="search-input" value="search" disabled="disabled">
|
|
<input type="reset" id="reset-button" value="reset" disabled="disabled">
|
|
</div>
|
|
</div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
|
</header>
|
|
<div class="flex-content">
|
|
<main role="main">
|
|
<div class="header">
|
|
<h1 title="Uses of Class it.tdlight.jni.TdApi.FileType" class="title">Uses of Class<br>it.tdlight.jni.TdApi.FileType</h1>
|
|
</div>
|
|
<section class="class-uses">
|
|
<ul class="block-list">
|
|
<li>
|
|
<section class="detail" id="it.tdlight.jni">
|
|
<h2>Uses of <a href="../TdApi.FileType.html" title="class in it.tdlight.jni">TdApi.FileType</a> in <a href="../package-summary.html">it.tdlight.jni</a></h2>
|
|
<div class="caption"><span>Subclasses of <a href="../TdApi.FileType.html" title="class in it.tdlight.jni">TdApi.FileType</a> in <a href="../package-summary.html">it.tdlight.jni</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Class</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code>static final class </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../TdApi.FileTypeAnimation.html" class="type-name-link" title="class in it.tdlight.jni">TdApi.FileTypeAnimation</a></code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">The file is an animation.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>static final class </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../TdApi.FileTypeAudio.html" class="type-name-link" title="class in it.tdlight.jni">TdApi.FileTypeAudio</a></code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">The file is an audio file.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>static final class </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../TdApi.FileTypeDocument.html" class="type-name-link" title="class in it.tdlight.jni">TdApi.FileTypeDocument</a></code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">The file is a document.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>static final class </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../TdApi.FileTypeNone.html" class="type-name-link" title="class in it.tdlight.jni">TdApi.FileTypeNone</a></code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">The data is not a file.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>static final class </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../TdApi.FileTypeNotificationSound.html" class="type-name-link" title="class in it.tdlight.jni">TdApi.FileTypeNotificationSound</a></code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">The file is a notification sound.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>static final class </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../TdApi.FileTypePhoto.html" class="type-name-link" title="class in it.tdlight.jni">TdApi.FileTypePhoto</a></code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">The file is a photo.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>static final class </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../TdApi.FileTypeProfilePhoto.html" class="type-name-link" title="class in it.tdlight.jni">TdApi.FileTypeProfilePhoto</a></code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">The file is a profile photo.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>static final class </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../TdApi.FileTypeSecret.html" class="type-name-link" title="class in it.tdlight.jni">TdApi.FileTypeSecret</a></code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">The file was sent to a secret chat (the file type is not known to the
|
|
server).</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>static final class </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../TdApi.FileTypeSecretThumbnail.html" class="type-name-link" title="class in it.tdlight.jni">TdApi.FileTypeSecretThumbnail</a></code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">The file is a thumbnail of a file from a secret chat.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>static final class </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../TdApi.FileTypeSecure.html" class="type-name-link" title="class in it.tdlight.jni">TdApi.FileTypeSecure</a></code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">The file is a file from Secure storage used for storing Telegram
|
|
Passport files.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>static final class </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../TdApi.FileTypeSticker.html" class="type-name-link" title="class in it.tdlight.jni">TdApi.FileTypeSticker</a></code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">The file is a sticker.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>static final class </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../TdApi.FileTypeThumbnail.html" class="type-name-link" title="class in it.tdlight.jni">TdApi.FileTypeThumbnail</a></code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">The file is a thumbnail of another file.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>static final class </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../TdApi.FileTypeUnknown.html" class="type-name-link" title="class in it.tdlight.jni">TdApi.FileTypeUnknown</a></code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">The file type is not yet known.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>static final class </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../TdApi.FileTypeVideo.html" class="type-name-link" title="class in it.tdlight.jni">TdApi.FileTypeVideo</a></code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">The file is a video.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>static final class </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../TdApi.FileTypeVideoNote.html" class="type-name-link" title="class in it.tdlight.jni">TdApi.FileTypeVideoNote</a></code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">The file is a video note.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code>static final class </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../TdApi.FileTypeVoiceNote.html" class="type-name-link" title="class in it.tdlight.jni">TdApi.FileTypeVoiceNote</a></code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">The file is a voice note.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code>static final class </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../TdApi.FileTypeWallpaper.html" class="type-name-link" title="class in it.tdlight.jni">TdApi.FileTypeWallpaper</a></code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">The file is a wallpaper or a background pattern.</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Fields in <a href="../package-summary.html">it.tdlight.jni</a> declared as <a href="../TdApi.FileType.html" title="class in it.tdlight.jni">TdApi.FileType</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Field</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="../TdApi.FileType.html" title="class in it.tdlight.jni">TdApi.FileType</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">TdApi.GetRemoteFile.</span><code><a href="../TdApi.GetRemoteFile.html#fileType" class="member-name-link">fileType</a></code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">File type; pass null if unknown.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="../TdApi.FileType.html" title="class in it.tdlight.jni">TdApi.FileType</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">TdApi.NetworkStatisticsEntryFile.</span><code><a href="../TdApi.NetworkStatisticsEntryFile.html#fileType" class="member-name-link">fileType</a></code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Type of the file the data is part of; pass null if the data isn't related to files.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="../TdApi.FileType.html" title="class in it.tdlight.jni">TdApi.FileType</a></code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">TdApi.PreliminaryUploadFile.</span><code><a href="../TdApi.PreliminaryUploadFile.html#fileType" class="member-name-link">fileType</a></code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">File type; pass null if unknown.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="../TdApi.FileType.html" title="class in it.tdlight.jni">TdApi.FileType</a></code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">TdApi.StorageStatisticsByFileType.</span><code><a href="../TdApi.StorageStatisticsByFileType.html#fileType" class="member-name-link">fileType</a></code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">File type.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="../TdApi.FileType.html" title="class in it.tdlight.jni">TdApi.FileType</a>[]</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">TdApi.OptimizeStorage.</span><code><a href="../TdApi.OptimizeStorage.html#fileTypes" class="member-name-link">fileTypes</a></code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">If non-empty, only files with the given types are considered.</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Constructors in <a href="../package-summary.html">it.tdlight.jni</a> with parameters of type <a href="../TdApi.FileType.html" title="class in it.tdlight.jni">TdApi.FileType</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier</div>
|
|
<div class="table-header col-second">Constructor</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../TdApi.GetRemoteFile.html#%3Cinit%3E(java.lang.String,it.tdlight.jni.TdApi.FileType)" class="member-name-link">GetRemoteFile</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> remoteFileId,
|
|
<a href="../TdApi.FileType.html" title="class in it.tdlight.jni">TdApi.FileType</a> fileType)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Returns information about a file by its remote ID; this is an offline request.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code> </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../TdApi.NetworkStatisticsEntryFile.html#%3Cinit%3E(it.tdlight.jni.TdApi.FileType,it.tdlight.jni.TdApi.NetworkType,long,long)" class="member-name-link">NetworkStatisticsEntryFile</a><wbr>(<a href="../TdApi.FileType.html" title="class in it.tdlight.jni">TdApi.FileType</a> fileType,
|
|
<a href="../TdApi.NetworkType.html" title="class in it.tdlight.jni">TdApi.NetworkType</a> networkType,
|
|
long sentBytes,
|
|
long receivedBytes)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Contains information about the total amount of data that was used to send and receive files.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../TdApi.OptimizeStorage.html#%3Cinit%3E(long,int,int,int,it.tdlight.jni.TdApi.FileType%5B%5D,long%5B%5D,long%5B%5D,boolean,int)" class="member-name-link">OptimizeStorage</a><wbr>(long size,
|
|
int ttl,
|
|
int count,
|
|
int immunityDelay,
|
|
<a href="../TdApi.FileType.html" title="class in it.tdlight.jni">TdApi.FileType</a>[] fileTypes,
|
|
long[] chatIds,
|
|
long[] excludeChatIds,
|
|
boolean returnDeletedFileStatistics,
|
|
int chatLimit)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Optimizes storage usage, i.e.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code> </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../TdApi.PreliminaryUploadFile.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,it.tdlight.jni.TdApi.FileType,int)" class="member-name-link">PreliminaryUploadFile</a><wbr>(<a href="../TdApi.InputFile.html" title="class in it.tdlight.jni">TdApi.InputFile</a> file,
|
|
<a href="../TdApi.FileType.html" title="class in it.tdlight.jni">TdApi.FileType</a> fileType,
|
|
int priority)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">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.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../TdApi.StorageStatisticsByFileType.html#%3Cinit%3E(it.tdlight.jni.TdApi.FileType,long,int)" class="member-name-link">StorageStatisticsByFileType</a><wbr>(<a href="../TdApi.FileType.html" title="class in it.tdlight.jni">TdApi.FileType</a> fileType,
|
|
long size,
|
|
int count)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Contains the storage usage statistics for a specific file type.</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</main>
|
|
<footer role="contentinfo">
|
|
<hr>
|
|
<p class="legal-copy"><small>Copyright © 2023. All rights reserved.</small></p>
|
|
</footer>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|