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

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

Fields in it.tdlight.jni declared as TdApi.FormattedText
Modifier and Type
Field
Description
`TdApi.FormattedText`
TdApi.EditInlineMessageCaption.`caption`
New message content caption; pass null to remove caption; 0-GetOption("message_caption_length_max") characters.
`TdApi.FormattedText`
TdApi.EditMessageCaption.`caption`
New message content caption; 0-GetOption("message_caption_length_max") characters; pass null to remove caption.
`TdApi.FormattedText`
TdApi.InputMessageAnimation.`caption`
Animation caption; pass null to use an empty caption; 0-GetOption("message_caption_length_max") characters.
`TdApi.FormattedText`
TdApi.InputMessageAudio.`caption`
Audio caption; pass null to use an empty caption; 0-GetOption("message_caption_length_max") characters.
`TdApi.FormattedText`
TdApi.InputMessageDocument.`caption`
Document caption; pass null to use an empty caption; 0-GetOption("message_caption_length_max") characters.
`TdApi.FormattedText`
TdApi.InputMessagePhoto.`caption`
Photo caption; pass null to use an empty caption; 0-GetOption("message_caption_length_max") characters.
`TdApi.FormattedText`
TdApi.InputMessageVideo.`caption`
Video caption; pass null to use an empty caption; 0-GetOption("message_caption_length_max") characters.
`TdApi.FormattedText`
TdApi.InputMessageVoiceNote.`caption`
Voice note caption; pass null to use an empty caption; 0-GetOption("message_caption_length_max") characters.
`TdApi.FormattedText`
TdApi.MessageAnimation.`caption`
Animation caption.
`TdApi.FormattedText`
TdApi.MessageAudio.`caption`
Audio caption.
`TdApi.FormattedText`
TdApi.MessageDocument.`caption`
Document caption.
`TdApi.FormattedText`
TdApi.MessagePhoto.`caption`
Photo caption.
`TdApi.FormattedText`
TdApi.MessageVideo.`caption`
Video caption.
`TdApi.FormattedText`
TdApi.MessageVoiceNote.`caption`
Voice note caption.
`TdApi.FormattedText`
TdApi.WebPage.`description`
Description of the content.
`TdApi.FormattedText`
TdApi.PollTypeQuiz.`explanation`
Text that is shown when the user chooses an incorrect answer or taps on the lamp icon; 0-200 characters with at most 2 line feeds; empty for a yet unanswered poll.
`TdApi.FormattedText`
TdApi.MessageCopyOptions.`newCaption`
New message caption; pass null to copy message without caption.
`TdApi.FormattedText`
TdApi.DeepLinkInfo.`text`
Text to be shown to the user.
`TdApi.FormattedText`
TdApi.Game.`text`
Game text, usually containing scoreboards for a game.
`TdApi.FormattedText`
TdApi.GetMarkdownText.`text`
The text.
`TdApi.FormattedText`
TdApi.GetWebPagePreview.`text`
Message text with formatting.
`TdApi.FormattedText`
TdApi.InputMessageText.`text`
Formatted text to be sent; 1-GetOption("message_text_length_max") characters.
`TdApi.FormattedText`
TdApi.InternalLinkTypeMessageDraft.`text`
Message draft text.
`TdApi.FormattedText`
TdApi.MessageText.`text`
Text of the message.
`TdApi.FormattedText`
TdApi.ParseMarkdown.`text`
The text to parse.
`TdApi.FormattedText`
TdApi.TermsOfService.`text`
Text of the terms of service.
Constructors in it.tdlight.jni with parameters of type TdApi.FormattedText
Modifier
Constructor
Description
``
`DeepLinkInfo(TdApi.FormattedText text, boolean needUpdateApplication)`
Contains information about a tg: deep link.
``
`EditInlineMessageCaption(String inlineMessageId, TdApi.ReplyMarkup replyMarkup, TdApi.FormattedText caption)`
Edits the caption of an inline message sent via a bot; for bots only.
``
`EditMessageCaption(long chatId, long messageId, TdApi.ReplyMarkup replyMarkup, TdApi.FormattedText caption)`
Edits the message content caption.
``
`Game(long id, String shortName, String title, TdApi.FormattedText text, String description, TdApi.Photo photo, TdApi.Animation animation)`
Describes a game.
``
`GetMarkdownText(TdApi.FormattedText text)`
Replaces text entities with Markdown formatting in a human-friendly format.
``
`GetWebPagePreview(TdApi.FormattedText text)`
Returns a web page preview by the text of the message.
``
`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.
``
`InputMessageText(TdApi.FormattedText text, boolean disableWebPagePreview, boolean clearDraft)`
A text 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.
``
`InputMessageVoiceNote(TdApi.InputFile voiceNote, int duration, byte[] waveform, TdApi.FormattedText caption)`
A voice note message.
``
`InternalLinkTypeMessageDraft(TdApi.FormattedText text, boolean containsLink)`
The link contains a message draft text.
``
`MessageAnimation(TdApi.Animation animation, TdApi.FormattedText caption, boolean isSecret)`
An animation message (GIF-style).
``
`MessageAudio(TdApi.Audio audio, TdApi.FormattedText caption)`
An audio message.
``
`MessageCopyOptions(boolean sendCopy, boolean replaceCaption, TdApi.FormattedText newCaption)`
Options to be used when a message content is copied without reference to the original sender.
``
`MessageDocument(TdApi.Document document, TdApi.FormattedText caption)`
A document message (general file).
``
`MessagePhoto(TdApi.Photo photo, TdApi.FormattedText caption, boolean isSecret)`
A photo message.
``
`MessageText(TdApi.FormattedText text, TdApi.WebPage webPage)`
A text message.
``
`MessageVideo(TdApi.Video video, TdApi.FormattedText caption, boolean isSecret)`
A video message.
``
`MessageVoiceNote(TdApi.VoiceNote voiceNote, TdApi.FormattedText caption, boolean isListened)`
A voice note message.
``
`ParseMarkdown(TdApi.FormattedText text)`
Parses Markdown entities in a human-friendly format, ignoring markup errors.
``
`PollTypeQuiz(int correctOptionId, TdApi.FormattedText explanation)`
A poll in quiz mode, which has exactly one correct answer option and can be answered only once.
``
`TermsOfService(TdApi.FormattedText text, int minUserAge, boolean showPopup)`
Contains Telegram terms of service.
``
`WebPage(String url, String displayUrl, String type, String siteName, String title, TdApi.FormattedText description, TdApi.Photo photo, String embedUrl, String embedType, int embedWidth, int embedHeight, int duration, String author, TdApi.Animation animation, TdApi.Audio audio, TdApi.Document document, TdApi.Sticker sticker, TdApi.Video video, TdApi.VideoNote videoNote, TdApi.VoiceNote voiceNote, int instantViewVersion)`
Describes a web page preview.