# Uses of Class
it.tdlight.jni.TdApi.File

## Uses of TdApi.File in it.tdlight.jni

Fields in it.tdlight.jni declared as TdApi.File
Modifier and Type
Field
Description
`TdApi.File`
TdApi.Animation.`animation`
File containing the animation.
`TdApi.File`
TdApi.Audio.`audio`
File containing the audio.
`TdApi.File`
TdApi.ChatPhotoInfo.`big`
A big (640x640) chat photo variant in JPEG format.
`TdApi.File`
TdApi.ProfilePhoto.`big`
A big (640x640) user profile photo.
`TdApi.File`
TdApi.Document.`document`
File containing the document.
`TdApi.File`
TdApi.AnimatedChatPhoto.`file`
Information about the animation file.
`TdApi.File`
TdApi.DatedFile.`file`
The file.
`TdApi.File`
TdApi.Thumbnail.`file`
The thumbnail.
`TdApi.File`
TdApi.UpdateFile.`file`
New data about the file.
`TdApi.File`
TdApi.PhotoSize.`photo`
Information about the image file.
`TdApi.File`
TdApi.ChatPhotoInfo.`small`
A small (160x160) chat photo variant in JPEG format.
`TdApi.File`
TdApi.ProfilePhoto.`small`
A small (160x160) user profile photo.
`TdApi.File`
TdApi.AnimatedEmoji.`sound`
File containing the sound to be played when the animated emoji is clicked if any; may be null.
`TdApi.File`
TdApi.Sticker.`sticker`
File containing the sticker.
`TdApi.File`
TdApi.Video.`video`
File containing the video.
`TdApi.File`
TdApi.VideoNote.`video`
File containing the video.
`TdApi.File`
TdApi.VoiceNote.`voice`
File containing the voice note.
Constructors in it.tdlight.jni with parameters of type TdApi.File
Modifier
Constructor
Description
``
`AnimatedChatPhoto(int length, TdApi.File file, double mainFrameTimestamp)`
Animated variant of a chat photo in MPEG4 format.
``
`AnimatedEmoji(TdApi.Sticker sticker, TdApi.ColorReplacement[] colorReplacements, TdApi.File sound)`
Describes an animated representation of an emoji.
``
`Animation(int duration, int width, int height, String fileName, String mimeType, boolean hasStickers, TdApi.Minithumbnail minithumbnail, TdApi.Thumbnail thumbnail, TdApi.File animation)`
Describes an animation file.
``
`Audio(int duration, String title, String performer, String fileName, String mimeType, TdApi.Minithumbnail albumCoverMinithumbnail, TdApi.Thumbnail albumCoverThumbnail, TdApi.File audio)`
Describes an audio file.
``
`ChatPhotoInfo(TdApi.File small, TdApi.File big, TdApi.Minithumbnail minithumbnail, boolean hasAnimation)`
Contains basic information about the photo of a chat.
``
`DatedFile(TdApi.File file, int date)`
File with the date it was uploaded.
``
`Document(String fileName, String mimeType, TdApi.Minithumbnail minithumbnail, TdApi.Thumbnail thumbnail, TdApi.File document)`
Describes a document of any type.
``
`PhotoSize(String type, TdApi.File photo, int width, int height, int[] progressiveSizes)`
Describes an image in JPEG format.
``
`ProfilePhoto(long id, TdApi.File small, TdApi.File big, TdApi.Minithumbnail minithumbnail, boolean hasAnimation)`
Describes a user profile photo.
``
`Sticker(long setId, int width, int height, String emoji, boolean isAnimated, boolean isMask, TdApi.MaskPosition maskPosition, TdApi.ClosedVectorPath[] outline, TdApi.Thumbnail thumbnail, TdApi.File sticker)`
Describes a sticker.
``
`Thumbnail(TdApi.ThumbnailFormat format, int width, int height, TdApi.File file)`
Represents a thumbnail.
``
`UpdateFile(TdApi.File file)`
Information about a file was updated.
``
`Video(int duration, int width, int height, String fileName, String mimeType, boolean hasStickers, boolean supportsStreaming, TdApi.Minithumbnail minithumbnail, TdApi.Thumbnail thumbnail, TdApi.File video)`
Describes a video file.
``
`VideoNote(int duration, int length, TdApi.Minithumbnail minithumbnail, TdApi.Thumbnail thumbnail, TdApi.File video)`
Describes a video note.
``
`VoiceNote(int duration, byte[] waveform, String mimeType, TdApi.File voice)`
Describes a voice note.