<h1title="Uses of Class it.tdlight.jni.TdApi.InputFile"class="title">Uses of Class<br>it.tdlight.jni.TdApi.InputFile</h1>
</div>
<sectionclass="class-uses">
<ulclass="block-list">
<li>
<sectionclass="detail"id="it.tdlight.jni">
<h2>Uses of <ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> in <ahref="../package-summary.html">it.tdlight.jni</a></h2>
<divclass="caption"><span>Subclasses of <ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</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.InputFileGenerated.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.InputFileGenerated</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A file generated by the application.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.InputFileId.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.InputFileId</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">A file defined by its unique ID.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.InputFileLocal.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.InputFileLocal</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A file defined by a local path.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.InputFileRemote.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.InputFileRemote</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">A file defined by its remote ID.</div>
</div>
</div>
<divclass="caption"><span>Fields in <ahref="../package-summary.html">it.tdlight.jni</a> declared as <ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a></span></div>
<divclass="summary-table three-column-summary">
<divclass="table-header col-first">Modifier and Type</div>
<divclass="caption"><span>Constructors in <ahref="../package-summary.html">it.tdlight.jni</a> with parameters of type <ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a></span></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.AddFavoriteSticker.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile)"class="member-name-link">AddFavoriteSticker</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> sticker)</code></div>
<divclass="col-last even-row-color">
<divclass="block">Adds a new sticker to the list of
<divclass="col-second even-row-color"><code><ahref="../TdApi.AddSavedAnimation.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile)"class="member-name-link">AddSavedAnimation</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> animation)</code></div>
<divclass="col-last even-row-color">
<divclass="block">Manually adds a new animation to the
<divclass="col-second odd-row-color"><code><ahref="../TdApi.GetStickerEmojis.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile)"class="member-name-link">GetStickerEmojis</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> sticker)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Returns emoji corresponding to a
<divclass="col-second odd-row-color"><code><ahref="../TdApi.InputBackgroundLocal.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile)"class="member-name-link">InputBackgroundLocal</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> background)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">A background from a local file.</div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.InputChatPhotoAnimation.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,double)"class="member-name-link">InputChatPhotoAnimation</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> animation,
double mainFrameTimestamp)</code></div>
<divclass="col-last even-row-color">
<divclass="block">An animation in MPEG4 format; must be
<divclass="col-second odd-row-color"><code><ahref="../TdApi.InputChatPhotoStatic.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile)"class="member-name-link">InputChatPhotoStatic</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> photo)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">A static photo in JPEG format.</div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.InputIdentityDocument.html#%3Cinit%3E(java.lang.String,it.tdlight.jni.TdApi.Date,it.tdlight.jni.TdApi.InputFile,it.tdlight.jni.TdApi.InputFile,it.tdlight.jni.TdApi.InputFile,it.tdlight.jni.TdApi.InputFile%5B%5D)"class="member-name-link">InputIdentityDocument</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> number,
<ahref="../TdApi.Date.html"title="class in it.tdlight.jni">TdApi.Date</a> expiryDate,
<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> frontSide,
<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> reverseSide,
<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> selfie,
<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a>[] translation)</code></div>
<divclass="col-last even-row-color">
<divclass="block">An identity document to be saved to Telegram Passport.</div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.InputMessageAnimation.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,it.tdlight.jni.TdApi.InputThumbnail,int%5B%5D,int,int,int,it.tdlight.jni.TdApi.FormattedText)"class="member-name-link">InputMessageAnimation</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> animation,
<ahref="../TdApi.InputThumbnail.html"title="class in it.tdlight.jni">TdApi.InputThumbnail</a> thumbnail,
int[] addedStickerFileIds,
int duration,
int width,
int height,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> caption)</code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.InputMessageAudio.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,it.tdlight.jni.TdApi.InputThumbnail,int,java.lang.String,java.lang.String,it.tdlight.jni.TdApi.FormattedText)"class="member-name-link">InputMessageAudio</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> audio,
<ahref="../TdApi.InputThumbnail.html"title="class in it.tdlight.jni">TdApi.InputThumbnail</a> albumCoverThumbnail,
int duration,
<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> title,
<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> performer,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> caption)</code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.InputMessageDocument.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,it.tdlight.jni.TdApi.InputThumbnail,boolean,it.tdlight.jni.TdApi.FormattedText)"class="member-name-link">InputMessageDocument</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> document,
<ahref="../TdApi.InputThumbnail.html"title="class in it.tdlight.jni">TdApi.InputThumbnail</a> thumbnail,
boolean disableContentTypeDetection,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> caption)</code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.InputMessagePhoto.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,it.tdlight.jni.TdApi.InputThumbnail,int%5B%5D,int,int,it.tdlight.jni.TdApi.FormattedText,int)"class="member-name-link">InputMessagePhoto</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> photo,
<ahref="../TdApi.InputThumbnail.html"title="class in it.tdlight.jni">TdApi.InputThumbnail</a> thumbnail,
int[] addedStickerFileIds,
int width,
int height,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> caption,
<divclass="col-second odd-row-color"><code><ahref="../TdApi.InputMessageSticker.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,it.tdlight.jni.TdApi.InputThumbnail,int,int,java.lang.String)"class="member-name-link">InputMessageSticker</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> sticker,
<ahref="../TdApi.InputThumbnail.html"title="class in it.tdlight.jni">TdApi.InputThumbnail</a> thumbnail,
int width,
int height,
<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> emoji)</code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.InputMessageVideo.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,it.tdlight.jni.TdApi.InputThumbnail,int%5B%5D,int,int,int,boolean,it.tdlight.jni.TdApi.FormattedText,int)"class="member-name-link">InputMessageVideo</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> video,
<ahref="../TdApi.InputThumbnail.html"title="class in it.tdlight.jni">TdApi.InputThumbnail</a> thumbnail,
int[] addedStickerFileIds,
int duration,
int width,
int height,
boolean supportsStreaming,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> caption,
<divclass="col-second odd-row-color"><code><ahref="../TdApi.InputMessageVideoNote.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,it.tdlight.jni.TdApi.InputThumbnail,int,int)"class="member-name-link">InputMessageVideoNote</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> videoNote,
<ahref="../TdApi.InputThumbnail.html"title="class in it.tdlight.jni">TdApi.InputThumbnail</a> thumbnail,
<divclass="col-second even-row-color"><code><ahref="../TdApi.InputMessageVoiceNote.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,int,byte%5B%5D,it.tdlight.jni.TdApi.FormattedText)"class="member-name-link">InputMessageVoiceNote</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> voiceNote,
int duration,
byte[] waveform,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> caption)</code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.InputPersonalDocument.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile%5B%5D,it.tdlight.jni.TdApi.InputFile%5B%5D)"class="member-name-link">InputPersonalDocument</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a>[] files,
<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a>[] translation)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">A personal document to be saved to Telegram Passport.</div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.InputStickerAnimated.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,java.lang.String)"class="member-name-link">InputStickerAnimated</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> sticker,
<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> emojis)</code></div>
<divclass="col-last even-row-color">
<divclass="block">An animated sticker in TGS format.</div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.InputStickerStatic.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,java.lang.String,it.tdlight.jni.TdApi.MaskPosition)"class="member-name-link">InputStickerStatic</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> sticker,
<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> emojis,
<ahref="../TdApi.MaskPosition.html"title="class in it.tdlight.jni">TdApi.MaskPosition</a> maskPosition)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">A static sticker in PNG format, which
<divclass="col-second even-row-color"><code><ahref="../TdApi.InputThumbnail.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,int,int)"class="member-name-link">InputThumbnail</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> thumbnail,
int width,
int height)</code></div>
<divclass="col-last even-row-color">
<divclass="block">A thumbnail to be sent along with a
<divclass="col-second odd-row-color"><code><ahref="../TdApi.RemoveFavoriteSticker.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile)"class="member-name-link">RemoveFavoriteSticker</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> sticker)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Removes a sticker from the list of favorite stickers.</div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.RemoveSavedAnimation.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile)"class="member-name-link">RemoveSavedAnimation</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> animation)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Removes an animation from the list of saved animations.</div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.RemoveStickerFromSet.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile)"class="member-name-link">RemoveStickerFromSet</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> sticker)</code></div>
<divclass="col-last even-row-color">
<divclass="block">Removes a sticker from the set to
<divclass="col-second odd-row-color"><code><ahref="../TdApi.SetStickerPositionInSet.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,int)"class="member-name-link">SetStickerPositionInSet</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> sticker,
int position)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Changes the position of a sticker in
<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> name,
<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> thumbnail)</code></div>
<divclass="col-last even-row-color">
<divclass="block">Sets a sticker set thumbnail; for bots
<divclass="col-second odd-row-color"><code><ahref="../TdApi.UploadFile.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,it.tdlight.jni.TdApi.FileType,int)"class="member-name-link">UploadFile</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">Asynchronously uploads a file to the