-
Constructors in it.tdlight.jni with parameters of type TdApi.InputFile
Constructor |
Description |
AddFavoriteSticker(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.
|
GetStickerEmojis(TdApi.InputFile sticker) |
Returns emoji corresponding to a
sticker.
|
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.
|
InputChatPhotoStatic(TdApi.InputFile photo) |
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.
|
InputStickerAnimated(TdApi.InputFile sticker,
String emojis) |
An animated sticker in TGS format.
|
InputStickerStatic(TdApi.InputFile sticker,
String emojis,
TdApi.MaskPosition maskPosition) |
A static sticker in PNG format, which
will be converted to WEBP server-side.
|
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.
|
SetStickerPositionInSet(TdApi.InputFile sticker,
int position) |
Changes the position of a sticker in
the set to which it belongs; for bots
only.
|
SetStickerSetThumbnail(int 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.
|
UploadStickerFile(int userId,
TdApi.InputFile pngSticker) |
Uploads a PNG image with a sticker;
for bots only; returns the uploaded file.
|