<h1title="Uses of Class it.tdlight.jni.TdApi.FormattedText"class="title">Uses of Class<br>it.tdlight.jni.TdApi.FormattedText</h1>
</div>
<sectionclass="class-uses">
<ulclass="block-list">
<li>
<sectionclass="detail"id="it.tdlight.jni">
<h2>Uses of <ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> in <ahref="../package-summary.html">it.tdlight.jni</a></h2>
<divclass="caption"><span>Fields in <ahref="../package-summary.html">it.tdlight.jni</a> declared as <ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a></span></div>
<divclass="summary-table three-column-summary">
<divclass="table-header col-first">Modifier and Type</div>
<divclass="block">Text of the terms of service.</div>
</div>
</div>
<divclass="caption"><span>Constructors in <ahref="../package-summary.html">it.tdlight.jni</a> with parameters of type <ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a></span></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.DeepLinkInfo.html#%3Cinit%3E(it.tdlight.jni.TdApi.FormattedText,boolean)"class="member-name-link">DeepLinkInfo</a><wbr>(<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> text,
boolean needUpdateApplication)</code></div>
<divclass="col-last even-row-color">
<divclass="block">Contains information about a tg: deep link.</div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.EditInlineMessageCaption.html#%3Cinit%3E(java.lang.String,it.tdlight.jni.TdApi.ReplyMarkup,it.tdlight.jni.TdApi.FormattedText)"class="member-name-link">EditInlineMessageCaption</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> inlineMessageId,
<ahref="../TdApi.ReplyMarkup.html"title="class in it.tdlight.jni">TdApi.ReplyMarkup</a> replyMarkup,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> caption)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Edits the caption of an inline message
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> shortName,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> title,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> text,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> description,
<ahref="../TdApi.Photo.html"title="class in it.tdlight.jni">TdApi.Photo</a> photo,
<ahref="../TdApi.Animation.html"title="class in it.tdlight.jni">TdApi.Animation</a> animation)</code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.GetMarkdownText.html#%3Cinit%3E(it.tdlight.jni.TdApi.FormattedText)"class="member-name-link">GetMarkdownText</a><wbr>(<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> text)</code></div>
<divclass="col-last even-row-color">
<divclass="block">Replaces text entities with Markdown
<divclass="col-second odd-row-color"><code><ahref="../TdApi.GetWebPagePreview.html#%3Cinit%3E(it.tdlight.jni.TdApi.FormattedText)"class="member-name-link">GetWebPagePreview</a><wbr>(<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> text)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Returns a web page preview by the text
<divclass="col-second even-row-color"><code><ahref="../TdApi.InputMessageAnimation.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,it.tdlight.jni.TdApi.InputThumbnail,int%5B%5D,int,int,int,it.tdlight.jni.TdApi.FormattedText)"class="member-name-link">InputMessageAnimation</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> animation,
<ahref="../TdApi.InputThumbnail.html"title="class in it.tdlight.jni">TdApi.InputThumbnail</a> thumbnail,
int[] addedStickerFileIds,
int duration,
int width,
int height,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> caption)</code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.InputMessageAudio.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,it.tdlight.jni.TdApi.InputThumbnail,int,java.lang.String,java.lang.String,it.tdlight.jni.TdApi.FormattedText)"class="member-name-link">InputMessageAudio</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> audio,
<ahref="../TdApi.InputThumbnail.html"title="class in it.tdlight.jni">TdApi.InputThumbnail</a> albumCoverThumbnail,
int duration,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> title,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> performer,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> caption)</code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.InputMessageDocument.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,it.tdlight.jni.TdApi.InputThumbnail,boolean,it.tdlight.jni.TdApi.FormattedText)"class="member-name-link">InputMessageDocument</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> document,
<ahref="../TdApi.InputThumbnail.html"title="class in it.tdlight.jni">TdApi.InputThumbnail</a> thumbnail,
boolean disableContentTypeDetection,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> caption)</code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.InputMessagePhoto.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,it.tdlight.jni.TdApi.InputThumbnail,int%5B%5D,int,int,it.tdlight.jni.TdApi.FormattedText,int)"class="member-name-link">InputMessagePhoto</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> photo,
<ahref="../TdApi.InputThumbnail.html"title="class in it.tdlight.jni">TdApi.InputThumbnail</a> thumbnail,
int[] addedStickerFileIds,
int width,
int height,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> caption,
<divclass="col-second even-row-color"><code><ahref="../TdApi.InputMessageText.html#%3Cinit%3E(it.tdlight.jni.TdApi.FormattedText,boolean,boolean)"class="member-name-link">InputMessageText</a><wbr>(<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> text,
<divclass="col-second odd-row-color"><code><ahref="../TdApi.InputMessageVideo.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,it.tdlight.jni.TdApi.InputThumbnail,int%5B%5D,int,int,int,boolean,it.tdlight.jni.TdApi.FormattedText,int)"class="member-name-link">InputMessageVideo</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> video,
<ahref="../TdApi.InputThumbnail.html"title="class in it.tdlight.jni">TdApi.InputThumbnail</a> thumbnail,
int[] addedStickerFileIds,
int duration,
int width,
int height,
boolean supportsStreaming,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> caption,
<divclass="col-second even-row-color"><code><ahref="../TdApi.InputMessageVoiceNote.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,int,byte%5B%5D,it.tdlight.jni.TdApi.FormattedText)"class="member-name-link">InputMessageVoiceNote</a><wbr>(<ahref="../TdApi.InputFile.html"title="class in it.tdlight.jni">TdApi.InputFile</a> voiceNote,
int duration,
byte[] waveform,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> caption)</code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.InternalLinkTypeMessageDraft.html#%3Cinit%3E(it.tdlight.jni.TdApi.FormattedText,boolean)"class="member-name-link">InternalLinkTypeMessageDraft</a><wbr>(<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> text,
boolean containsLink)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">The link contains a message draft
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageAnimation.html#%3Cinit%3E(it.tdlight.jni.TdApi.Animation,it.tdlight.jni.TdApi.FormattedText,boolean)"class="member-name-link">MessageAnimation</a><wbr>(<ahref="../TdApi.Animation.html"title="class in it.tdlight.jni">TdApi.Animation</a> animation,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> caption,
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageAudio.html#%3Cinit%3E(it.tdlight.jni.TdApi.Audio,it.tdlight.jni.TdApi.FormattedText)"class="member-name-link">MessageAudio</a><wbr>(<ahref="../TdApi.Audio.html"title="class in it.tdlight.jni">TdApi.Audio</a> audio,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> caption)</code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageDocument.html#%3Cinit%3E(it.tdlight.jni.TdApi.Document,it.tdlight.jni.TdApi.FormattedText)"class="member-name-link">MessageDocument</a><wbr>(<ahref="../TdApi.Document.html"title="class in it.tdlight.jni">TdApi.Document</a> document,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> caption)</code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageExtendedMediaPhoto.html#%3Cinit%3E(it.tdlight.jni.TdApi.Photo,it.tdlight.jni.TdApi.FormattedText)"class="member-name-link">MessageExtendedMediaPhoto</a><wbr>(<ahref="../TdApi.Photo.html"title="class in it.tdlight.jni">TdApi.Photo</a> photo,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> caption)</code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageExtendedMediaUnsupported.html#%3Cinit%3E(it.tdlight.jni.TdApi.FormattedText)"class="member-name-link">MessageExtendedMediaUnsupported</a><wbr>(<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> caption)</code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageExtendedMediaVideo.html#%3Cinit%3E(it.tdlight.jni.TdApi.Video,it.tdlight.jni.TdApi.FormattedText)"class="member-name-link">MessageExtendedMediaVideo</a><wbr>(<ahref="../TdApi.Video.html"title="class in it.tdlight.jni">TdApi.Video</a> video,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> caption)</code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageInvoice.html#%3Cinit%3E(java.lang.String,it.tdlight.jni.TdApi.FormattedText,it.tdlight.jni.TdApi.Photo,java.lang.String,long,java.lang.String,boolean,boolean,long,it.tdlight.jni.TdApi.MessageExtendedMedia)"class="member-name-link">MessageInvoice</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> title,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> description,
<ahref="../TdApi.Photo.html"title="class in it.tdlight.jni">TdApi.Photo</a> photo,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> currency,
long totalAmount,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> startParameter,
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessagePhoto.html#%3Cinit%3E(it.tdlight.jni.TdApi.Photo,it.tdlight.jni.TdApi.FormattedText,boolean)"class="member-name-link">MessagePhoto</a><wbr>(<ahref="../TdApi.Photo.html"title="class in it.tdlight.jni">TdApi.Photo</a> photo,
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageText.html#%3Cinit%3E(it.tdlight.jni.TdApi.FormattedText,it.tdlight.jni.TdApi.WebPage)"class="member-name-link">MessageText</a><wbr>(<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> text,
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageVideo.html#%3Cinit%3E(it.tdlight.jni.TdApi.Video,it.tdlight.jni.TdApi.FormattedText,boolean)"class="member-name-link">MessageVideo</a><wbr>(<ahref="../TdApi.Video.html"title="class in it.tdlight.jni">TdApi.Video</a> video,
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageVoiceNote.html#%3Cinit%3E(it.tdlight.jni.TdApi.VoiceNote,it.tdlight.jni.TdApi.FormattedText,boolean)"class="member-name-link">MessageVoiceNote</a><wbr>(<ahref="../TdApi.VoiceNote.html"title="class in it.tdlight.jni">TdApi.VoiceNote</a> voiceNote,
<divclass="col-second odd-row-color"><code><ahref="../TdApi.ParseMarkdown.html#%3Cinit%3E(it.tdlight.jni.TdApi.FormattedText)"class="member-name-link">ParseMarkdown</a><wbr>(<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> text)</code></div>
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> productTitle,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> productDescription,
<ahref="../TdApi.Photo.html"title="class in it.tdlight.jni">TdApi.Photo</a> productPhoto)</code></div>
<divclass="col-last even-row-color">
<divclass="block">Contains information about an invoice payment form.</div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.PaymentReceipt.html#%3Cinit%3E(java.lang.String,it.tdlight.jni.TdApi.FormattedText,it.tdlight.jni.TdApi.Photo,int,long,long,it.tdlight.jni.TdApi.Invoice,it.tdlight.jni.TdApi.OrderInfo,it.tdlight.jni.TdApi.ShippingOption,java.lang.String,long)"class="member-name-link">PaymentReceipt</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> title,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> description,
<ahref="../TdApi.Photo.html"title="class in it.tdlight.jni">TdApi.Photo</a> photo,
int date,
long sellerBotUserId,
long paymentProviderUserId,
<ahref="../TdApi.Invoice.html"title="class in it.tdlight.jni">TdApi.Invoice</a> invoice,
<ahref="../TdApi.OrderInfo.html"title="class in it.tdlight.jni">TdApi.OrderInfo</a> orderInfo,
<ahref="../TdApi.ShippingOption.html"title="class in it.tdlight.jni">TdApi.ShippingOption</a> shippingOption,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> credentialsTitle,
<divclass="col-second odd-row-color"><code><ahref="../TdApi.PremiumState.html#%3Cinit%3E(it.tdlight.jni.TdApi.FormattedText,it.tdlight.jni.TdApi.PremiumPaymentOption%5B%5D,it.tdlight.jni.TdApi.PremiumFeaturePromotionAnimation%5B%5D)"class="member-name-link">PremiumState</a><wbr>(<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> state,
<ahref="../TdApi.PremiumPaymentOption.html"title="class in it.tdlight.jni">TdApi.PremiumPaymentOption</a>[] paymentOptions,
<ahref="../TdApi.PremiumFeaturePromotionAnimation.html"title="class in it.tdlight.jni">TdApi.PremiumFeaturePromotionAnimation</a>[] animations)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Contains state of Telegram Premium
subscription and promotion videos for Premium features.</div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.TermsOfService.html#%3Cinit%3E(it.tdlight.jni.TdApi.FormattedText,int,boolean)"class="member-name-link">TermsOfService</a><wbr>(<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> text,
<divclass="col-second even-row-color"><code><ahref="../TdApi.UserFullInfo.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatPhoto,boolean,boolean,boolean,boolean,boolean,boolean,boolean,it.tdlight.jni.TdApi.FormattedText,it.tdlight.jni.TdApi.PremiumPaymentOption%5B%5D,int,it.tdlight.jni.TdApi.BotInfo)"class="member-name-link">UserFullInfo</a><wbr>(<ahref="../TdApi.ChatPhoto.html"title="class in it.tdlight.jni">TdApi.ChatPhoto</a> photo,
<divclass="col-second odd-row-color"><code><ahref="../TdApi.UserSupportInfo.html#%3Cinit%3E(it.tdlight.jni.TdApi.FormattedText,java.lang.String,int)"class="member-name-link">UserSupportInfo</a><wbr>(<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> message,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> author,
int date)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Contains custom information about the user.</div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.WebPage.html#%3Cinit%3E(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,it.tdlight.jni.TdApi.FormattedText,it.tdlight.jni.TdApi.Photo,java.lang.String,java.lang.String,int,int,int,java.lang.String,it.tdlight.jni.TdApi.Animation,it.tdlight.jni.TdApi.Audio,it.tdlight.jni.TdApi.Document,it.tdlight.jni.TdApi.Sticker,it.tdlight.jni.TdApi.Video,it.tdlight.jni.TdApi.VideoNote,it.tdlight.jni.TdApi.VoiceNote,int)"class="member-name-link">WebPage</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> url,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> displayUrl,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> type,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> siteName,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> title,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> description,
<ahref="../TdApi.Photo.html"title="class in it.tdlight.jni">TdApi.Photo</a> photo,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> embedUrl,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> embedType,
int embedWidth,
int embedHeight,
int duration,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> author,
<ahref="../TdApi.Animation.html"title="class in it.tdlight.jni">TdApi.Animation</a> animation,
<ahref="../TdApi.Audio.html"title="class in it.tdlight.jni">TdApi.Audio</a> audio,
<ahref="../TdApi.Document.html"title="class in it.tdlight.jni">TdApi.Document</a> document,
<ahref="../TdApi.Sticker.html"title="class in it.tdlight.jni">TdApi.Sticker</a> sticker,
<ahref="../TdApi.Video.html"title="class in it.tdlight.jni">TdApi.Video</a> video,
<ahref="../TdApi.VideoNote.html"title="class in it.tdlight.jni">TdApi.VideoNote</a> videoNote,
<ahref="../TdApi.VoiceNote.html"title="class in it.tdlight.jni">TdApi.VoiceNote</a> voiceNote,