<li><ahref="../../../it/ernytech/tdlib/TdApi.UpgradeBasicGroupChatToSupergroupChat.html"title="class in it.ernytech.tdlib"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../it/ernytech/tdlib/TdApi.UploadStickerFile.html"title="class in it.ernytech.tdlib"><spanclass="typeNameLink">Next Class</span></a></li>
<li><ahref="../../../it/ernytech/tdlib/TdApi.Object.html"title="class in it.ernytech.tdlib">it.ernytech.tdlib.TdApi.Object</a></li>
<li>
<ulclass="inheritance">
<li><ahref="../../../it/ernytech/tdlib/TdApi.Function.html"title="class in it.ernytech.tdlib">it.ernytech.tdlib.TdApi.Function</a></li>
<li>
<ulclass="inheritance">
<li>it.ernytech.tdlib.TdApi.UploadFile</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<divclass="description">
<ulclass="blockList">
<liclass="blockList">
<dl>
<dt>Enclosing class:</dt>
<dd><ahref="../../../it/ernytech/tdlib/TdApi.html"title="class in it.ernytech.tdlib">TdApi</a></dd>
</dl>
<hr>
<pre>public static class <spanclass="typeNameLabel">TdApi.UploadFile</span>
extends <ahref="../../../it/ernytech/tdlib/TdApi.Function.html"title="class in it.ernytech.tdlib">TdApi.Function</a></pre>
<divclass="block">Asynchronously uploads a file to the cloud without sending it in a message. updateFile will be used to notify about upload progress and successful completion of the upload. The file will not have a persistent remote identifier until it will be sent in a message.
<p> Returns <ahref="../../../it/ernytech/tdlib/TdApi.File.html"title="class in it.ernytech.tdlib"><code>File</code></a></p></div>
<thclass="colConstructorName"scope="row"><code><spanclass="memberNameLink"><ahref="../../../it/ernytech/tdlib/TdApi.UploadFile.html#%3Cinit%3E(it.ernytech.tdlib.TdApi.InputFile,it.ernytech.tdlib.TdApi.FileType,int)">UploadFile</a></span>​(<ahref="../../../it/ernytech/tdlib/TdApi.InputFile.html"title="class in it.ernytech.tdlib">TdApi.InputFile</a> file,
<ahref="../../../it/ernytech/tdlib/TdApi.FileType.html"title="class in it.ernytech.tdlib">TdApi.FileType</a> fileType,
int priority)</code></th>
<tdclass="colLast">
<divclass="block">Constructor for initialization of all fields.</div>
<h3>Methods inherited from class it.ernytech.tdlib.<ahref="../../../it/ernytech/tdlib/TdApi.Function.html"title="class in it.ernytech.tdlib">TdApi.Function</a></h3>
<pre>public <ahref="../../../it/ernytech/tdlib/TdApi.InputFile.html"title="class in it.ernytech.tdlib">TdApi.InputFile</a> file</pre>
<divclass="block">File to upload.</div>
</li>
</ul>
<aid="fileType">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>fileType</h4>
<pre>public <ahref="../../../it/ernytech/tdlib/TdApi.FileType.html"title="class in it.ernytech.tdlib">TdApi.FileType</a> fileType</pre>
<divclass="block">File type.</div>
</li>
</ul>
<aid="priority">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>priority</h4>
<pre>public int priority</pre>
<divclass="block">Priority of the upload (1-32). The higher the priority, the earlier the file will be uploaded. If the priorities of two files are equal, then the first one for which uploadFile was called will be uploaded first.</div>
<pre>public UploadFile​(<ahref="../../../it/ernytech/tdlib/TdApi.InputFile.html"title="class in it.ernytech.tdlib">TdApi.InputFile</a> file,
<ahref="../../../it/ernytech/tdlib/TdApi.FileType.html"title="class in it.ernytech.tdlib">TdApi.FileType</a> fileType,
int priority)</pre>
<divclass="block">Constructor for initialization of all fields.</div>
<dd><code>priority</code> - Priority of the upload (1-32). The higher the priority, the earlier the file will be uploaded. If the priorities of two files are equal, then the first one for which uploadFile was called will be uploaded first.</dd>
<dd><code><ahref="../../../it/ernytech/tdlib/TdApi.Object.html#getConstructor()">getConstructor</a></code> in class <code><ahref="../../../it/ernytech/tdlib/TdApi.Object.html"title="class in it.ernytech.tdlib">TdApi.Object</a></code></dd>
<li><ahref="../../../it/ernytech/tdlib/TdApi.UpgradeBasicGroupChatToSupergroupChat.html"title="class in it.ernytech.tdlib"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../it/ernytech/tdlib/TdApi.UploadStickerFile.html"title="class in it.ernytech.tdlib"><spanclass="typeNameLink">Next Class</span></a></li>