Uses of Class
it.tdlight.jni.TdApi.InputFile
-
Uses of TdApi.InputFile in it.tdlight.jni
Modifier and TypeClassDescriptionstatic final class
A file generated by the application.static final class
A file defined by its unique ID.static final class
A file defined by a local path.static final class
A file defined by its remote ID.Modifier and TypeFieldDescriptionTdApi.AddSavedAnimation.animation
The animation file to be added.TdApi.InputChatPhotoAnimation.animation
Animation to be set as profile photo.TdApi.InputMessageAnimation.animation
Animation file to be sent.TdApi.RemoveSavedAnimation.animation
Animation file to be removed.TdApi.ImportMessages.attachedFiles
Files used in the imported messages.TdApi.InputMessageAudio.audio
Audio file to be sent.TdApi.InputBackgroundLocal.background
Background file to use.TdApi.InputMessageDocument.document
Document to be sent.TdApi.UploadFile.file
File to upload.TdApi.InputPersonalDocument.files
List of files containing the pages of the document.TdApi.InputIdentityDocument.frontSide
Front side of the document.TdApi.SendCallLog.logFile
Call log file.TdApi.ImportMessages.messageFile
File with messages to import.TdApi.InputChatPhotoStatic.photo
Photo to be set as profile photo.TdApi.InputMessagePhoto.photo
Photo to send.TdApi.InputIdentityDocument.reverseSide
Reverse side of the document; only for driver license and identity card; pass null otherwise.TdApi.InputIdentityDocument.selfie
Selfie with the document; pass null if unavailable.TdApi.AddSavedNotificationSound.sound
Notification sound file to add.TdApi.AddFavoriteSticker.sticker
Sticker file to add.TdApi.AddRecentSticker.sticker
Sticker file to add.TdApi.GetStickerEmojis.sticker
Sticker file identifier.TdApi.InputMessageSticker.sticker
Sticker to be sent.TdApi.InputSticker.sticker
File with the sticker; must fit in a 512x512 square.TdApi.RemoveFavoriteSticker.sticker
Sticker file to delete from the list.TdApi.RemoveRecentSticker.sticker
Sticker file to delete.TdApi.RemoveStickerFromSet.sticker
Sticker.TdApi.SetStickerPositionInSet.sticker
Sticker.TdApi.InputThumbnail.thumbnail
Thumbnail file to send.TdApi.SetStickerSetThumbnail.thumbnail
Thumbnail to set in PNG, TGS, or WEBM format; pass null to remove the sticker set thumbnail.TdApi.InputIdentityDocument.translation
List of files containing a certified English translation of the document.TdApi.InputPersonalDocument.translation
List of files containing a certified English translation of the document.TdApi.InputMessageVideo.video
Video to be sent.TdApi.InputMessageVideoNote.videoNote
Video note to be sent.TdApi.InputMessageVoiceNote.voiceNote
Voice note to be sent.ModifierConstructorDescriptionAddFavoriteSticker
(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 800 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) 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 ttl) 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 ttl) 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.StickerType type) 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.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.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.UploadFile
(TdApi.InputFile file, TdApi.FileType fileType, int priority) Asynchronously uploads a file to the cloud without sending it in a message.