Uses of Class
it.tdlight.jni.TdApi.File
-
Uses of TdApi.File in it.tdlight.jni
Modifier and TypeFieldDescriptionTdApi.AttachmentMenuBot.androidIcon
Attachment menu icon for the bot in TGS format for the official Android app; may be null.TdApi.Animation.animation
File containing the animation.TdApi.Audio.audio
File containing the audio.TdApi.ChatPhotoInfo.big
A big (640x640) chat photo variant in JPEG format.TdApi.ProfilePhoto.big
A big (640x640) user profile photo.TdApi.AttachmentMenuBot.defaultIcon
Default attachment menu icon for the bot in SVG format; may be null.TdApi.Document.document
File containing the document.TdApi.AnimatedChatPhoto.file
Information about the animation file.TdApi.DatedFile.file
The file.TdApi.Thumbnail.file
The thumbnail.TdApi.UpdateFile.file
New data about the file.TdApi.AttachmentMenuBot.iosAnimatedIcon
Attachment menu icon for the bot in TGS format for the official iOS app; may be null.TdApi.AttachmentMenuBot.iosStaticIcon
Attachment menu icon for the bot in SVG format for the official iOS app; may be null.TdApi.AttachmentMenuBot.macosIcon
Attachment menu icon for the bot in TGS format for the official native macOS app; may be null.TdApi.PhotoSize.photo
Information about the image file.TdApi.Sticker.premiumAnimation
Premium animation of the sticker; may be null.TdApi.ChatPhotoInfo.small
A small (160x160) chat photo variant in JPEG format.TdApi.ProfilePhoto.small
A small (160x160) user profile photo.TdApi.AnimatedEmoji.sound
File containing the sound to be played when the animated emoji is clicked; may be null.TdApi.NotificationSound.sound
File containing the sound.TdApi.Sticker.sticker
File containing the sticker.TdApi.Video.video
File containing the video.TdApi.VideoNote.video
File containing the video.TdApi.VoiceNote.voice
File containing the voice note.TdApi.AttachmentMenuBot.webAppPlaceholder
Default placeholder for opened Web Apps in SVG format; may be null.ModifierConstructorDescriptionAnimatedChatPhoto
(int length, TdApi.File file, double mainFrameTimestamp) Animated variant of a chat photo in MPEG4 format.AnimatedEmoji
(TdApi.Sticker sticker, int fitzpatrickType, 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.AttachmentMenuBot
(long botUserId, boolean supportsSelfChat, boolean supportsUserChats, boolean supportsBotChats, boolean supportsGroupChats, boolean supportsChannelChats, boolean supportsSettings, String name, TdApi.AttachmentMenuBotColor nameColor, TdApi.File defaultIcon, TdApi.File iosStaticIcon, TdApi.File iosAnimatedIcon, TdApi.File androidIcon, TdApi.File macosIcon, TdApi.AttachmentMenuBotColor iconColor, TdApi.File webAppPlaceholder) Represents a bot added to attachment menu.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.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) Describes a user profile photo.Sticker
(long setId, int width, int height, String emoji, TdApi.StickerType type, TdApi.ClosedVectorPath[] outline, TdApi.Thumbnail thumbnail, TdApi.File premiumAnimation, 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, boolean isRecognized, String recognizedText, TdApi.File voice) Describes a voice note.