<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="use-summary">
<tableclass="summary-table">
<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></caption>
<thead>
<tr>
<thclass="col-first"scope="col">Modifier and Type</th>
<thclass="col-second"scope="col">Field</th>
<thclass="col-last"scope="col">Description</th>
</tr>
</thead>
<tbody>
<trclass="alt-color">
<tdclass="col-first"><code><ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a></code></td>
<divclass="block">Text of the terms of service.</div>
</td>
</tr>
</tbody>
</table>
</div>
<divclass="use-summary">
<tableclass="summary-table">
<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></caption>
<thead>
<tr>
<thclass="col-first"scope="col">Constructor</th>
<thclass="col-last"scope="col">Description</th>
</tr>
</thead>
<tbody>
<trclass="alt-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.DeepLinkInfo.html#%3Cinit%3E(it.tdlight.jni.TdApi.FormattedText,boolean)">DeepLinkInfo</a></span>​(<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> text,
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.EditInlineMessageCaption.html#%3Cinit%3E(java.lang.String,it.tdlight.jni.TdApi.ReplyMarkup,it.tdlight.jni.TdApi.FormattedText)">EditInlineMessageCaption</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/13/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></th>
<tdclass="col-last">
<divclass="block">Edits the caption of an inline message
<ahref="https://docs.oracle.com/en/java/javase/13/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/13/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/13/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></th>
<tdclass="col-last">
<divclass="block">Describes a game.</div>
</td>
</tr>
<trclass="alt-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.GetMarkdownText.html#%3Cinit%3E(it.tdlight.jni.TdApi.FormattedText)">GetMarkdownText</a></span>​(<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> text)</code></th>
<tdclass="col-last">
<divclass="block">Replaces text entities with Markdown
formatting in a human-friendly format.</div>
</td>
</tr>
<trclass="row-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.GetWebPagePreview.html#%3Cinit%3E(it.tdlight.jni.TdApi.FormattedText)">GetWebPagePreview</a></span>​(<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> text)</code></th>
<tdclass="col-last">
<divclass="block">Returns a web page preview by the text
of the message.</div>
</td>
</tr>
<trclass="alt-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><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)">InputMessageAnimation</a></span>​(<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></th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><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)">InputMessageAudio</a></span>​(<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/13/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/13/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></th>
<tdclass="col-last">
<divclass="block">An audio message.</div>
</td>
</tr>
<trclass="alt-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.InputMessageDocument.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,it.tdlight.jni.TdApi.InputThumbnail,boolean,it.tdlight.jni.TdApi.FormattedText)">InputMessageDocument</a></span>​(<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></th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><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)">InputMessagePhoto</a></span>​(<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,
int ttl)</code></th>
<tdclass="col-last">
<divclass="block">A photo message.</div>
</td>
</tr>
<trclass="alt-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.InputMessageText.html#%3Cinit%3E(it.tdlight.jni.TdApi.FormattedText,boolean,boolean)">InputMessageText</a></span>​(<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> text,
boolean disableWebPagePreview,
boolean clearDraft)</code></th>
<tdclass="col-last">
<divclass="block">A text message.</div>
</td>
</tr>
<trclass="row-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><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)">InputMessageVideo</a></span>​(<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,
int ttl)</code></th>
<tdclass="col-last">
<divclass="block">A video message.</div>
</td>
</tr>
<trclass="alt-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.InputMessageVoiceNote.html#%3Cinit%3E(it.tdlight.jni.TdApi.InputFile,int,byte%5B%5D,it.tdlight.jni.TdApi.FormattedText)">InputMessageVoiceNote</a></span>​(<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></th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.InternalLinkTypeMessageDraft.html#%3Cinit%3E(it.tdlight.jni.TdApi.FormattedText,boolean)">InternalLinkTypeMessageDraft</a></span>​(<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> text,
boolean containsLink)</code></th>
<tdclass="col-last">
<divclass="block">The link contains a message draft
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageAnimation.html#%3Cinit%3E(it.tdlight.jni.TdApi.Animation,it.tdlight.jni.TdApi.FormattedText,boolean)">MessageAnimation</a></span>​(<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,
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageAudio.html#%3Cinit%3E(it.tdlight.jni.TdApi.Audio,it.tdlight.jni.TdApi.FormattedText)">MessageAudio</a></span>​(<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></th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageDocument.html#%3Cinit%3E(it.tdlight.jni.TdApi.Document,it.tdlight.jni.TdApi.FormattedText)">MessageDocument</a></span>​(<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></th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessagePhoto.html#%3Cinit%3E(it.tdlight.jni.TdApi.Photo,it.tdlight.jni.TdApi.FormattedText,boolean)">MessagePhoto</a></span>​(<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,
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageText.html#%3Cinit%3E(it.tdlight.jni.TdApi.FormattedText,it.tdlight.jni.TdApi.WebPage)">MessageText</a></span>​(<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> text,
<ahref="../TdApi.WebPage.html"title="class in it.tdlight.jni">TdApi.WebPage</a> webPage)</code></th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageVideo.html#%3Cinit%3E(it.tdlight.jni.TdApi.Video,it.tdlight.jni.TdApi.FormattedText,boolean)">MessageVideo</a></span>​(<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,
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.MessageVoiceNote.html#%3Cinit%3E(it.tdlight.jni.TdApi.VoiceNote,it.tdlight.jni.TdApi.FormattedText,boolean)">MessageVoiceNote</a></span>​(<ahref="../TdApi.VoiceNote.html"title="class in it.tdlight.jni">TdApi.VoiceNote</a> voiceNote,
<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> caption,
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.ParseMarkdown.html#%3Cinit%3E(it.tdlight.jni.TdApi.FormattedText)">ParseMarkdown</a></span>​(<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> text)</code></th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.TermsOfService.html#%3Cinit%3E(it.tdlight.jni.TdApi.FormattedText,int,boolean)">TermsOfService</a></span>​(<ahref="../TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a> text,
int minUserAge,
boolean showPopup)</code></th>
<tdclass="col-last">
<divclass="block">Contains Telegram terms of service.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><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)">WebPage</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/13/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/13/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/13/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/13/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/13/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/13/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/13/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/13/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,
int instantViewVersion)</code></th>
<tdclass="col-last">
<divclass="block">Describes a web page preview.</div>