<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 favorite stickers.</div>
<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 list of saved animations.</div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.AddSavedNotificationSound.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile)"class="member-name-link">AddSavedNotificationSound</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> sound)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Adds a new notification sound to the list of saved notification sounds.</div>
<divclass="col-second even-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 even-row-color">
<divclass="block">Returns emoji corresponding to a sticker.</div>
<divclass="col-second even-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 even-row-color">
<divclass="block">A background from a local file.</div>
<divclass="col-second odd-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 odd-row-color">
<divclass="block">An animation in MPEG4 format; must be square, at most 10 seconds long, have width between 160 and 1280 and be at most 2MB in size.</div>
<divclass="col-second even-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 even-row-color">
<divclass="block">A static photo in JPEG format.</div>
<divclass="col-second odd-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,
<divclass="col-second even-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,boolean)"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,
<divclass="col-second odd-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 even-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 odd-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,boolean)"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 even-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 odd-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,boolean)"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 even-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 odd-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 even-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 even-row-color">
<divclass="block">A personal document to be saved to Telegram Passport.</div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.InputSticker.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,java.lang.String,it.tdlight.jni.TdApi.MaskPosition,java.lang.String%5B%5D)"class="member-name-link">InputSticker</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,
<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>[] keywords)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">A sticker to be added to a sticker set.</div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.InputStoryContentPhoto.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,int%5B%5D)"class="member-name-link">InputStoryContentPhoto</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> photo,
<divclass="col-second odd-row-color"><code><ahref="../TdApi.InputStoryContentVideo.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,int%5B%5D,double,boolean)"class="member-name-link">InputStoryContentVideo</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> video,
<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 file; must be in JPEG or WEBP format for stickers, and less than 200 KB in size.</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.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 even-row-color">
<divclass="block">Removes a sticker from the list of favorite stickers.</div>
<divclass="col-second even-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 even-row-color">
<divclass="block">Removes an animation from the list of saved animations.</div>
<divclass="col-second odd-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 odd-row-color">
<divclass="block">Removes a sticker from the set to which it belongs; for bots only.</div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.SetStickerEmojis.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,java.lang.String)"class="member-name-link">SetStickerEmojis</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 odd-row-color">
<divclass="block">Changes the list of emoji corresponding to a sticker; for bots only.</div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.SetStickerKeywords.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,java.lang.String%5B%5D)"class="member-name-link">SetStickerKeywords</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>[] keywords)</code></div>
<divclass="col-last even-row-color">
<divclass="block">Changes the list of keywords of a sticker; for bots only.</div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.SetStickerMaskPosition.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,it.tdlight.jni.TdApi.MaskPosition)"class="member-name-link">SetStickerMaskPosition</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> sticker,
<ahref="../TdApi.MaskPosition.html"title="class in it.tdlight.jni">TdApi.MaskPosition</a> maskPosition)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Changes the mask position of a mask sticker; for bots only.</div>
<divclass="col-second even-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 even-row-color">
<divclass="block">Changes the position of a sticker in the set to which it belongs; for bots only.</div>
<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 odd-row-color">
<divclass="block">Sets a sticker set thumbnail; for bots only.</div>