342 lines
16 KiB
HTML
342 lines
16 KiB
HTML
<!DOCTYPE HTML>
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc -->
|
|
<title>Uses of Class it.tdlight.jni.TdApi.FileType (tdlight API 3.3.47 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 http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<meta name="description" content="use: 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.5.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="../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="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="sub-nav">
|
|
<div class="nav-list-search"><label for="search">SEARCH:</label>
|
|
<input type="text" id="search" value="search" disabled="disabled">
|
|
<input type="reset" id="reset" 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="use-summary">
|
|
<table class="summary-table">
|
|
<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></caption>
|
|
<thead>
|
|
<tr>
|
|
<th class="col-first" scope="col">Modifier and Type</th>
|
|
<th class="col-second" scope="col">Class</th>
|
|
<th class="col-last" scope="col">Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr class="alt-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.FileTypeAnimation.html" title="class in it.tdlight.jni">TdApi.FileTypeAnimation</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">The file is an animation.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.FileTypeAudio.html" title="class in it.tdlight.jni">TdApi.FileTypeAudio</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">The file is an audio file.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="alt-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.FileTypeDocument.html" title="class in it.tdlight.jni">TdApi.FileTypeDocument</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">The file is a document.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.FileTypeNone.html" title="class in it.tdlight.jni">TdApi.FileTypeNone</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">The data is not a file.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="alt-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.FileTypePhoto.html" title="class in it.tdlight.jni">TdApi.FileTypePhoto</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">The file is a photo.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.FileTypeProfilePhoto.html" title="class in it.tdlight.jni">TdApi.FileTypeProfilePhoto</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">The file is a profile photo.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="alt-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.FileTypeSecret.html" title="class in it.tdlight.jni">TdApi.FileTypeSecret</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">The file was sent to a secret chat
|
|
(the file type is not known to the server).</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.FileTypeSecretThumbnail.html" title="class in it.tdlight.jni">TdApi.FileTypeSecretThumbnail</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">The file is a thumbnail of a file from
|
|
a secret chat.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="alt-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.FileTypeSecure.html" title="class in it.tdlight.jni">TdApi.FileTypeSecure</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">The file is a file from Secure storage
|
|
used for storing Telegram Passport files.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.FileTypeSticker.html" title="class in it.tdlight.jni">TdApi.FileTypeSticker</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">The file is a sticker.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="alt-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.FileTypeThumbnail.html" title="class in it.tdlight.jni">TdApi.FileTypeThumbnail</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">The file is a thumbnail of another file.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.FileTypeUnknown.html" title="class in it.tdlight.jni">TdApi.FileTypeUnknown</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">The file type is not yet known.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="alt-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.FileTypeVideo.html" title="class in it.tdlight.jni">TdApi.FileTypeVideo</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">The file is a video.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.FileTypeVideoNote.html" title="class in it.tdlight.jni">TdApi.FileTypeVideoNote</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">The file is a video note.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="alt-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.FileTypeVoiceNote.html" title="class in it.tdlight.jni">TdApi.FileTypeVoiceNote</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">The file is a voice note.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.FileTypeWallpaper.html" title="class in it.tdlight.jni">TdApi.FileTypeWallpaper</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">The file is a wallpaper or a background pattern.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="use-summary">
|
|
<table class="summary-table">
|
|
<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></caption>
|
|
<thead>
|
|
<tr>
|
|
<th class="col-first" scope="col">Modifier and Type</th>
|
|
<th class="col-second" scope="col">Field</th>
|
|
<th class="col-last" scope="col">Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr class="alt-color">
|
|
<td class="col-first"><code><a href="../TdApi.FileType.html" title="class in it.tdlight.jni">TdApi.FileType</a></code></td>
|
|
<th class="col-second" scope="row"><span class="type-name-label">TdApi.GetRemoteFile.</span><code><span class="member-name-link"><a href="../TdApi.GetRemoteFile.html#fileType">fileType</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">File type, if known.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<td class="col-first"><code><a href="../TdApi.FileType.html" title="class in it.tdlight.jni">TdApi.FileType</a></code></td>
|
|
<th class="col-second" scope="row"><span class="type-name-label">TdApi.NetworkStatisticsEntryFile.</span><code><span class="member-name-link"><a href="../TdApi.NetworkStatisticsEntryFile.html#fileType">fileType</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">Type of the file the data is part of.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="alt-color">
|
|
<td class="col-first"><code><a href="../TdApi.FileType.html" title="class in it.tdlight.jni">TdApi.FileType</a></code></td>
|
|
<th class="col-second" scope="row"><span class="type-name-label">TdApi.StorageStatisticsByFileType.</span><code><span class="member-name-link"><a href="../TdApi.StorageStatisticsByFileType.html#fileType">fileType</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">File type.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<td class="col-first"><code><a href="../TdApi.FileType.html" title="class in it.tdlight.jni">TdApi.FileType</a></code></td>
|
|
<th class="col-second" scope="row"><span class="type-name-label">TdApi.UploadFile.</span><code><span class="member-name-link"><a href="../TdApi.UploadFile.html#fileType">fileType</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">File type.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="alt-color">
|
|
<td class="col-first"><code><a href="../TdApi.FileType.html" title="class in it.tdlight.jni">TdApi.FileType</a>[]</code></td>
|
|
<th class="col-second" scope="row"><span class="type-name-label">TdApi.OptimizeStorage.</span><code><span class="member-name-link"><a href="../TdApi.OptimizeStorage.html#fileTypes">fileTypes</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">If not empty, only files with the
|
|
given type(s) are considered.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="use-summary">
|
|
<table class="summary-table">
|
|
<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></caption>
|
|
<thead>
|
|
<tr>
|
|
<th class="col-first" scope="col">Constructor</th>
|
|
<th class="col-last" scope="col">Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr class="alt-color">
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.GetRemoteFile.html#%3Cinit%3E(java.lang.String,it.tdlight.jni.TdApi.FileType)">GetRemoteFile</a></span>​(<a href="https://docs.oracle.com/en/java/javase/13/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></th>
|
|
<td class="col-last">
|
|
<div class="block">Returns information about a file by
|
|
its remote ID; this is an offline
|
|
request.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.NetworkStatisticsEntryFile.html#%3Cinit%3E(it.tdlight.jni.TdApi.FileType,it.tdlight.jni.TdApi.NetworkType,long,long)">NetworkStatisticsEntryFile</a></span>​(<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></th>
|
|
<td class="col-last">
|
|
<div class="block">Contains information about the total
|
|
amount of data that was used to send
|
|
and receive files.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="alt-color">
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><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)">OptimizeStorage</a></span>​(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></th>
|
|
<td class="col-last">
|
|
<div class="block">Optimizes storage usage, i.e.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.StorageStatisticsByFileType.html#%3Cinit%3E(it.tdlight.jni.TdApi.FileType,long,int)">StorageStatisticsByFileType</a></span>​(<a href="../TdApi.FileType.html" title="class in it.tdlight.jni">TdApi.FileType</a> fileType,
|
|
long size,
|
|
int count)</code></th>
|
|
<td class="col-last">
|
|
<div class="block">Contains the storage usage statistics
|
|
for a specific file type.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="alt-color">
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.UploadFile.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,it.tdlight.jni.TdApi.FileType,int)">UploadFile</a></span>​(<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></th>
|
|
<td class="col-last">
|
|
<div class="block">Asynchronously uploads a file to the
|
|
cloud without sending it in a message.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</main>
|
|
<footer role="contentinfo">
|
|
<nav role="navigation">
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottom-nav" id="navbar.bottom">
|
|
<div class="skip-nav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<ul id="navbar.bottom.firstrow" class="nav-list" title="Navigation">
|
|
<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="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
<span class="skip-nav" id="skip.navbar.bottom">
|
|
<!-- -->
|
|
</span></nav>
|
|
<p class="legal-copy"><small>Copyright © 2021. All rights reserved.</small></p>
|
|
</footer>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|