<h1title="Uses of Class it.tdlight.jni.TdApi.FileType"class="title">Uses of Class<br>it.tdlight.jni.TdApi.FileType</h1>
</div>
<sectionclass="class-uses">
<ulclass="block-list">
<li>
<sectionclass="detail"id="it.tdlight.jni">
<h2>Uses of <ahref="../TdApi.FileType.html"title="class in it.tdlight.jni">TdApi.FileType</a> in <ahref="../package-summary.html">it.tdlight.jni</a></h2>
<divclass="caption"><span>Subclasses of <ahref="../TdApi.FileType.html"title="class in it.tdlight.jni">TdApi.FileType</a> in <ahref="../package-summary.html">it.tdlight.jni</a></span></div>
<divclass="summary-table three-column-summary">
<divclass="table-header col-first">Modifier and Type</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.FileTypeAnimation.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.FileTypeAnimation</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">The file is an animation.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.FileTypeAudio.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.FileTypeAudio</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">The file is an audio file.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.FileTypeDocument.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.FileTypeDocument</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">The file is a document.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.FileTypeNone.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.FileTypeNone</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">The data is not a file.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.FileTypeNotificationSound.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.FileTypeNotificationSound</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">The file is a notification sound.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.FileTypePhoto.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.FileTypePhoto</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">The file is a photo.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.FileTypePhotoStory.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.FileTypePhotoStory</a></code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.FileTypeProfilePhoto.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.FileTypeProfilePhoto</a></code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.FileTypeSecret.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.FileTypeSecret</a></code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.FileTypeSecretThumbnail.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.FileTypeSecretThumbnail</a></code></div>
<divclass="block">The file is a thumbnail of a file from a secret chat.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.FileTypeSecure.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.FileTypeSecure</a></code></div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.FileTypeSticker.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.FileTypeSticker</a></code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.FileTypeThumbnail.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.FileTypeThumbnail</a></code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.FileTypeUnknown.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.FileTypeUnknown</a></code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.FileTypeVideo.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.FileTypeVideo</a></code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.FileTypeVideoNote.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.FileTypeVideoNote</a></code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.FileTypeVideoStory.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.FileTypeVideoStory</a></code></div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.FileTypeVoiceNote.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.FileTypeVoiceNote</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">The file is a voice note.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.FileTypeWallpaper.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.FileTypeWallpaper</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">The file is a wallpaper or a background pattern.</div>
</div>
</div>
<divclass="caption"><span>Fields in <ahref="../package-summary.html">it.tdlight.jni</a> declared as <ahref="../TdApi.FileType.html"title="class in it.tdlight.jni">TdApi.FileType</a></span></div>
<divclass="summary-table three-column-summary">
<divclass="table-header col-first">Modifier and Type</div>
<divclass="block">If non-empty, only files with the given types are considered.</div>
</div>
</div>
<divclass="caption"><span>Constructors in <ahref="../package-summary.html">it.tdlight.jni</a> with parameters of type <ahref="../TdApi.FileType.html"title="class in it.tdlight.jni">TdApi.FileType</a></span></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.GetRemoteFile.html#%3Cinit%3E(java.lang.String,it.tdlight.jni.TdApi.FileType)"class="member-name-link">GetRemoteFile</a><wbr>(<ahref="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,
<ahref="../TdApi.FileType.html"title="class in it.tdlight.jni">TdApi.FileType</a> fileType)</code></div>
<divclass="col-last even-row-color">
<divclass="block">Returns information about a file by its remote ID; this is an offline request.</div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.NetworkStatisticsEntryFile.html#%3Cinit%3E(it.tdlight.jni.TdApi.FileType,it.tdlight.jni.TdApi.NetworkType,long,long)"class="member-name-link">NetworkStatisticsEntryFile</a><wbr>(<ahref="../TdApi.FileType.html"title="class in it.tdlight.jni">TdApi.FileType</a> fileType,
<ahref="../TdApi.NetworkType.html"title="class in it.tdlight.jni">TdApi.NetworkType</a> networkType,
long sentBytes,
long receivedBytes)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Contains information about the total amount of data that was used to send and receive files.</div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.PreliminaryUploadFile.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,it.tdlight.jni.TdApi.FileType,int)"class="member-name-link">PreliminaryUploadFile</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> file,
<ahref="../TdApi.FileType.html"title="class in it.tdlight.jni">TdApi.FileType</a> fileType,
int priority)</code></div>
<divclass="col-last odd-row-color">
<divclass="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>
<divclass="col-second even-row-color"><code><ahref="../TdApi.StorageStatisticsByFileType.html#%3Cinit%3E(it.tdlight.jni.TdApi.FileType,long,int)"class="member-name-link">StorageStatisticsByFileType</a><wbr>(<ahref="../TdApi.FileType.html"title="class in it.tdlight.jni">TdApi.FileType</a> fileType,
long size,
int count)</code></div>
<divclass="col-last even-row-color">
<divclass="block">Contains the storage usage statistics for a specific file type.</div>
</div>
</div>
</section>
</li>
</ul>
</section>
</main>
<footerrole="contentinfo">
<hr>
<pclass="legal-copy"><small>Copyright © 2023. All rights reserved.</small></p>