Uses of Class
it.tdlight.jni.TdApi.InputFile
-
Uses of TdApi.InputFile in it.tdlight.jni
Subclasses of TdApi.InputFile in it.tdlight.jniModifier and TypeClassDescriptionstatic final classA file generated by the application.static final classA file defined by its unique ID.static final classA file defined by a local path.static final classA file defined by its remote ID.Fields in it.tdlight.jni declared as TdApi.InputFileModifier and TypeFieldDescriptionTdApi.AddSavedAnimation.animationThe animation file to be added.TdApi.InputChatPhotoAnimation.animationAnimation to be set as profile photo.TdApi.InputMessageAnimation.animationAnimation file to be sent.TdApi.RemoveSavedAnimation.animationAnimation file to be removed.TdApi.ImportMessages.attachedFilesFiles used in the imported messages.TdApi.InputMessageAudio.audioAudio file to be sent.TdApi.InputBackgroundLocal.backgroundBackground file to use.TdApi.InputMessageDocument.documentDocument to be sent.TdApi.PreliminaryUploadFile.fileFile to upload.TdApi.InputPersonalDocument.filesList of files containing the pages of the document.TdApi.InputIdentityDocument.frontSideFront side of the document.TdApi.SendCallLog.logFileCall log file.TdApi.ImportMessages.messageFileFile with messages to import.TdApi.InputChatPhotoStatic.photoPhoto to be set as profile photo.TdApi.InputMessagePhoto.photoPhoto to send.TdApi.InputIdentityDocument.reverseSideReverse side of the document; only for driver license and identity card; pass null otherwise.TdApi.InputIdentityDocument.selfieSelfie with the document; pass null if unavailable.TdApi.AddSavedNotificationSound.soundNotification sound file to add.TdApi.AddFavoriteSticker.stickerSticker file to add.TdApi.AddRecentSticker.stickerSticker file to add.TdApi.GetStickerEmojis.stickerSticker file identifier.TdApi.InputMessageSticker.stickerSticker to be sent.TdApi.InputSticker.stickerFile with the sticker; must fit in a 512x512 square.TdApi.RemoveFavoriteSticker.stickerSticker file to delete from the list.TdApi.RemoveRecentSticker.stickerSticker file to delete.TdApi.RemoveStickerFromSet.stickerSticker.TdApi.SetStickerEmojis.stickerSticker.TdApi.SetStickerKeywords.stickerSticker.TdApi.SetStickerMaskPosition.stickerSticker.TdApi.SetStickerPositionInSet.stickerSticker.TdApi.UploadStickerFile.stickerFile file to upload; must fit in a 512x512 square.TdApi.InputThumbnail.thumbnailThumbnail file to send.TdApi.SetStickerSetThumbnail.thumbnailThumbnail to set in PNG, TGS, or WEBM format; pass null to remove the sticker set thumbnail.TdApi.InputIdentityDocument.translationList of files containing a certified English translation of the document.TdApi.InputPersonalDocument.translationList of files containing a certified English translation of the document.TdApi.InputMessageVideo.videoVideo to be sent.TdApi.InputMessageVideoNote.videoNoteVideo note to be sent.TdApi.InputMessageVoiceNote.voiceNoteVoice note to be sent.Constructors in it.tdlight.jni with parameters of type TdApi.InputFileModifierConstructorDescriptionAddFavoriteSticker(TdApi.InputFile sticker) Adds a new sticker to the list of favorite stickers.AddRecentSticker(boolean isAttached, TdApi.InputFile sticker) Manually adds a new sticker to the list of recently used stickers.AddSavedAnimation(TdApi.InputFile animation) Manually adds a new animation to the list of saved animations.Adds a new notification sound to the list of saved notification sounds.GetStickerEmojis(TdApi.InputFile sticker) Returns emoji corresponding to a sticker.ImportMessages(long chatId, TdApi.InputFile messageFile, TdApi.InputFile[] attachedFiles) Imports messages exported from another app.InputBackgroundLocal(TdApi.InputFile background) A background from a local file.InputChatPhotoAnimation(TdApi.InputFile animation, double mainFrameTimestamp) 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.A static photo in JPEG format.InputIdentityDocument(String number, TdApi.Date expiryDate, TdApi.InputFile frontSide, TdApi.InputFile reverseSide, TdApi.InputFile selfie, TdApi.InputFile[] translation) An identity document to be saved to Telegram Passport.InputMessageAnimation(TdApi.InputFile animation, TdApi.InputThumbnail thumbnail, int[] addedStickerFileIds, int duration, int width, int height, TdApi.FormattedText caption, boolean hasSpoiler) An animation message (GIF-style).InputMessageAudio(TdApi.InputFile audio, TdApi.InputThumbnail albumCoverThumbnail, int duration, String title, String performer, TdApi.FormattedText caption) An audio message.InputMessageDocument(TdApi.InputFile document, TdApi.InputThumbnail thumbnail, boolean disableContentTypeDetection, TdApi.FormattedText caption) A document message (general file).InputMessagePhoto(TdApi.InputFile photo, TdApi.InputThumbnail thumbnail, int[] addedStickerFileIds, int width, int height, TdApi.FormattedText caption, int selfDestructTime, boolean hasSpoiler) A photo message.InputMessageSticker(TdApi.InputFile sticker, TdApi.InputThumbnail thumbnail, int width, int height, String emoji) A sticker message.InputMessageVideo(TdApi.InputFile video, TdApi.InputThumbnail thumbnail, int[] addedStickerFileIds, int duration, int width, int height, boolean supportsStreaming, TdApi.FormattedText caption, int selfDestructTime, boolean hasSpoiler) A video message.InputMessageVideoNote(TdApi.InputFile videoNote, TdApi.InputThumbnail thumbnail, int duration, int length) A video note message.InputMessageVoiceNote(TdApi.InputFile voiceNote, int duration, byte[] waveform, TdApi.FormattedText caption) A voice note message.InputPersonalDocument(TdApi.InputFile[] files, TdApi.InputFile[] translation) A personal document to be saved to Telegram Passport.InputSticker(TdApi.InputFile sticker, String emojis, TdApi.MaskPosition maskPosition, String[] keywords) A sticker to be added to a sticker set.InputThumbnail(TdApi.InputFile thumbnail, int width, int height) 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.PreliminaryUploadFile(TdApi.InputFile file, TdApi.FileType fileType, int priority) 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.RemoveFavoriteSticker(TdApi.InputFile sticker) Removes a sticker from the list of favorite stickers.RemoveRecentSticker(boolean isAttached, TdApi.InputFile sticker) Removes a sticker from the list of recently used stickers.RemoveSavedAnimation(TdApi.InputFile animation) Removes an animation from the list of saved animations.RemoveStickerFromSet(TdApi.InputFile sticker) Removes a sticker from the set to which it belongs; for bots only.SendCallLog(int callId, TdApi.InputFile logFile) Sends log file for a call to Telegram servers.SetStickerEmojis(TdApi.InputFile sticker, String emojis) Changes the list of emoji corresponding to a sticker; for bots only.SetStickerKeywords(TdApi.InputFile sticker, String[] keywords) Changes the list of keywords of a sticker; for bots only.SetStickerMaskPosition(TdApi.InputFile sticker, TdApi.MaskPosition maskPosition) Changes the mask position of a mask sticker; for bots only.SetStickerPositionInSet(TdApi.InputFile sticker, int position) Changes the position of a sticker in the set to which it belongs; for bots only.SetStickerSetThumbnail(long userId, String name, TdApi.InputFile thumbnail) Sets a sticker set thumbnail; for bots only.UploadStickerFile(long userId, TdApi.StickerFormat stickerFormat, TdApi.InputFile sticker) Uploads a file with a sticker; returns the uploaded file.