# 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.AttachmentMenuBot.`androidIcon`
Icon for the bot in TGS format for the official Android app; may be null.
`TdApi.File`
TdApi.AttachmentMenuBot.`androidSideMenuIcon`
Icon for the bot in SVG format for the official Android app side menu; may be null.
`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.AttachmentMenuBot.`defaultIcon`
Default icon for the bot in SVG format; may be null.
`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.AttachmentMenuBot.`iosAnimatedIcon`
Icon for the bot in TGS format for the official iOS app; may be null.
`TdApi.File`
TdApi.AttachmentMenuBot.`iosSideMenuIcon`
Icon for the bot in PNG format for the official iOS app side menu; may be null.
`TdApi.File`
TdApi.AttachmentMenuBot.`iosStaticIcon`
Icon for the bot in SVG format for the official iOS app; may be null.
`TdApi.File`
TdApi.AttachmentMenuBot.`macosIcon`
Icon for the bot in TGS format for the official native macOS app; may be null.
`TdApi.File`
TdApi.AttachmentMenuBot.`macosSideMenuIcon`
Icon for the bot in PNG format for the official macOS app side menu; may be null.
`TdApi.File`
TdApi.PhotoSize.`photo`
Information about the image file.
`TdApi.File`
TdApi.StickerFullTypeRegular.`premiumAnimation`
Premium animation of the sticker; may be null.
`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 sticker is clicked; may be null.
`TdApi.File`
TdApi.NotificationSound.`sound`
File containing the sound.
`TdApi.File`
TdApi.Sticker.`sticker`
File containing the sticker.
`TdApi.File`
TdApi.StoryVideo.`video`
File containing the video.
`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.
`TdApi.File`
TdApi.AttachmentMenuBot.`webAppPlaceholder`
Default placeholder for opened Web Apps in SVG format; may be null.
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, int stickerWidth, int stickerHeight, int fitzpatrickType, TdApi.File sound)`
Describes an animated or custom 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.
``
`AttachmentMenuBot(long botUserId, boolean supportsSelfChat, boolean supportsUserChats, boolean supportsBotChats, boolean supportsGroupChats, boolean supportsChannelChats, boolean requestWriteAccess, boolean isAdded, boolean showInAttachmentMenu, boolean showInSideMenu, boolean showDisclaimerInSideMenu, String name, TdApi.AttachmentMenuBotColor nameColor, TdApi.File defaultIcon, TdApi.File iosStaticIcon, TdApi.File iosAnimatedIcon, TdApi.File iosSideMenuIcon, TdApi.File androidIcon, TdApi.File androidSideMenuIcon, TdApi.File macosIcon, TdApi.File macosSideMenuIcon, TdApi.AttachmentMenuBotColor iconColor, TdApi.File webAppPlaceholder)`
Represents a bot, which can be added to attachment or side menu.
``
`Audio(int duration, String title, String performer, String fileName, String mimeType, TdApi.Minithumbnail albumCoverMinithumbnail, TdApi.Thumbnail albumCoverThumbnail, TdApi.Thumbnail[] externalAlbumCovers, TdApi.File audio)`
Describes an audio file.
``
`ChatPhotoInfo(TdApi.File small, TdApi.File big, TdApi.Minithumbnail minithumbnail, boolean hasAnimation, boolean isPersonal)`
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.
``
`NotificationSound(long id, int duration, int date, String title, String data, TdApi.File sound)`
Describes a notification sound in MP3 format.
``
`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, boolean isPersonal)`
Describes a user profile photo.
``
`Sticker(long id, long setId, int width, int height, String emoji, TdApi.StickerFormat format, TdApi.StickerFullType fullType, TdApi.ClosedVectorPath[] outline, TdApi.Thumbnail thumbnail, TdApi.File sticker)`
Describes a sticker.
``
`StickerFullTypeRegular(TdApi.File premiumAnimation)`
The sticker is a regular sticker.
``
`StoryVideo(double duration, int width, int height, boolean hasStickers, boolean isAnimation, TdApi.Minithumbnail minithumbnail, TdApi.Thumbnail thumbnail, int preloadPrefixSize, TdApi.File video)`
Describes a video file sent in a story.
``
`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, byte[] waveform, int length, TdApi.Minithumbnail minithumbnail, TdApi.Thumbnail thumbnail, TdApi.SpeechRecognitionResult speechRecognitionResult, TdApi.File video)`
Describes a video note.
``
`VoiceNote(int duration, byte[] waveform, String mimeType, TdApi.SpeechRecognitionResult speechRecognitionResult, TdApi.File voice)`
Describes a voice note.