<divclass="inheritance"title="Inheritance Tree"><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">java.lang.Object</a>
<divclass="inheritance"><ahref="TdApi.Object.html"title="class in it.tdlight.jni">it.tdlight.jni.TdApi.Object</a>
<divclass="block">Preview of the content as an audio
file, if available; may be null.</div>
</td>
</tr>
<trclass="alt-color">
<tdclass="col-first"><code><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></code></td>
<divclass="block">Description of the content.</div>
</td>
</tr>
<trclass="row-color">
<tdclass="col-first"><code><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></code></td>
<divclass="block">Height of the embedded preview.</div>
</td>
</tr>
<trclass="row-color">
<tdclass="col-first"><code><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></code></td>
<divclass="block">MIME type of the embedded preview,
(e.g., text/html or video/mp4).</div>
</td>
</tr>
<trclass="alt-color">
<tdclass="col-first"><code><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></code></td>
<divclass="block">Image representing the content; may be null.</div>
</td>
</tr>
<trclass="alt-color">
<tdclass="col-first"><code><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></code></td>
<divclass="block">Preview of the content as a sticker
for small WEBP files, if available;
may be null.</div>
</td>
</tr>
<trclass="alt-color">
<tdclass="col-first"><code><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></code></td>
<tdclass="col-first"><code><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></code></td>
<tdclass="col-first"><code><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></code></td>
<divclass="block">Describes a web page preview.</div>
</td>
</tr>
<trclass="row-color">
<thclass="col-constructor-name"scope="row"><code><spanclass="member-name-link"><ahref="#%3Cinit%3E(java.io.DataInput)">WebPage</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/io/DataInput.html"title="class or interface in java.io"class="external-link">DataInput</a> input)</code></th>
<tdclass="col-last"> </td>
</tr>
<trclass="alt-color">
<thclass="col-constructor-name"scope="row"><code><spanclass="member-name-link"><ahref="#%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>
<thclass="col-first"scope="col">Modifier and Type</th>
<thclass="col-second"scope="col">Method</th>
<thclass="col-last"scope="col">Description</th>
</tr>
</thead>
<tbody>
<trclass="alt-color"id="i0">
<tdclass="col-first"><code>boolean</code></td>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="#equals(java.lang.Object)">equals</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a> o)</code></th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="#serialize(java.io.DataOutput)">serialize</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/io/DataOutput.html"title="class or interface in java.io"class="external-link">DataOutput</a> output)</code></th>
<h3id="methods.inherited.from.class.it.tdlight.jni.TdApi.Object">Methods inherited from class it.tdlight.jni.<ahref="TdApi.Object.html"title="class in it.tdlight.jni">TdApi.Object</a></h3>
<h3id="methods.inherited.from.class.java.lang.Object">Methods inherited from class java.lang.<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></h3>
<code><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Object.html#getClass()"title="class or interface in java.lang"class="external-link">getClass</a>, <ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Object.html#notify()"title="class or interface in java.lang"class="external-link">notify</a>, <ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Object.html#notifyAll()"title="class or interface in java.lang"class="external-link">notifyAll</a>, <ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Object.html#wait()"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Object.html#wait(long)"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Object.html#wait(long,int)"title="class or interface in java.lang"class="external-link">wait</a></code></div>
</section>
</li>
</ul>
</section>
<sectionclass="details">
<ulclass="details-list">
<!-- ============ FIELD DETAIL =========== -->
<li>
<sectionclass="field-details"id="field.detail">
<h2>Field Details</h2>
<ulclass="member-list">
<li>
<sectionclass="detail"id="url">
<h3>url</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-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></span> <spanclass="member-name">url</span></div>
<divclass="block">Original URL of the link.</div>
</section>
</li>
<li>
<sectionclass="detail"id="displayUrl">
<h3>displayUrl</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-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></span> <spanclass="member-name">displayUrl</span></div>
<divclass="block">URL to display.</div>
</section>
</li>
<li>
<sectionclass="detail"id="type">
<h3>type</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-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></span> <spanclass="member-name">type</span></div>
<divclass="block">Type of the web page. Can be: article,
photo, audio, video, document, profile,
app, or something else.</div>
</section>
</li>
<li>
<sectionclass="detail"id="siteName">
<h3>siteName</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-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></span> <spanclass="member-name">siteName</span></div>
<divclass="block">Short name of the site (e.g., Google
Docs, App Store).</div>
</section>
</li>
<li>
<sectionclass="detail"id="title">
<h3>title</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-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></span> <spanclass="member-name">title</span></div>
<divclass="block">Title of the content.</div>
</section>
</li>
<li>
<sectionclass="detail"id="description">
<h3>description</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.FormattedText.html"title="class in it.tdlight.jni">TdApi.FormattedText</a></span> <spanclass="member-name">description</span></div>
<divclass="block">Description of the content.</div>
</section>
</li>
<li>
<sectionclass="detail"id="photo">
<h3>photo</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.Photo.html"title="class in it.tdlight.jni">TdApi.Photo</a></span> <spanclass="member-name">photo</span></div>
<divclass="block">Image representing the content; may be null.</div>
</section>
</li>
<li>
<sectionclass="detail"id="embedUrl">
<h3>embedUrl</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-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></span> <spanclass="member-name">embedUrl</span></div>
<divclass="block">URL to show in the embedded preview.</div>
</section>
</li>
<li>
<sectionclass="detail"id="embedType">
<h3>embedType</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-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></span> <spanclass="member-name">embedType</span></div>
<divclass="block">MIME type of the embedded preview,
<divclass="block">Duration of the content, in seconds.</div>
</section>
</li>
<li>
<sectionclass="detail"id="author">
<h3>author</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-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></span> <spanclass="member-name">author</span></div>
<divclass="block">Author of the content.</div>
</section>
</li>
<li>
<sectionclass="detail"id="animation">
<h3>animation</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.Animation.html"title="class in it.tdlight.jni">TdApi.Animation</a></span> <spanclass="member-name">animation</span></div>
<divclass="block">Preview of the content as an animation,
if available; may be null.</div>
</section>
</li>
<li>
<sectionclass="detail"id="audio">
<h3>audio</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.Audio.html"title="class in it.tdlight.jni">TdApi.Audio</a></span> <spanclass="member-name">audio</span></div>
<divclass="block">Preview of the content as an audio
file, if available; may be null.</div>
</section>
</li>
<li>
<sectionclass="detail"id="document">
<h3>document</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.Document.html"title="class in it.tdlight.jni">TdApi.Document</a></span> <spanclass="member-name">document</span></div>
<divclass="block">Preview of the content as a document,
if available (currently only available
for small PDF files and ZIP archives);
may be null.</div>
</section>
</li>
<li>
<sectionclass="detail"id="sticker">
<h3>sticker</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.Sticker.html"title="class in it.tdlight.jni">TdApi.Sticker</a></span> <spanclass="member-name">sticker</span></div>
<divclass="block">Preview of the content as a sticker
for small WEBP files, if available;
may be null.</div>
</section>
</li>
<li>
<sectionclass="detail"id="video">
<h3>video</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.Video.html"title="class in it.tdlight.jni">TdApi.Video</a></span> <spanclass="member-name">video</span></div>
<divclass="block">Preview of the content as a video, if
available; may be null.</div>
</section>
</li>
<li>
<sectionclass="detail"id="videoNote">
<h3>videoNote</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.VideoNote.html"title="class in it.tdlight.jni">TdApi.VideoNote</a></span> <spanclass="member-name">videoNote</span></div>
<divclass="block">Preview of the content as a video
note, if available; may be null.</div>
</section>
</li>
<li>
<sectionclass="detail"id="voiceNote">
<h3>voiceNote</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.VoiceNote.html"title="class in it.tdlight.jni">TdApi.VoiceNote</a></span> <spanclass="member-name">voiceNote</span></div>
<divclass="block">Preview of the content as a voice
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="member-name">WebPage</span>​(<spanclass="parameters"><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)</span></div>
<divclass="block">Describes a web page preview.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>url</code> - String Original URL of the link.</dd>
<dd><code>displayUrl</code> - String URL to display.</dd>
<dd><code>type</code> - String Type of the web page. Can be: article,
photo, audio, video, document, profile,
app, or something else.</dd>
<dd><code>siteName</code> - String Short name of the site (e.g., Google
Docs, App Store).</dd>
<dd><code>title</code> - String Title of the content.</dd>
<dd><code>description</code> - FormattedText Description of the content.</dd>
<dd><code>photo</code> - Photo Image representing the content; may be null.</dd>
<dd><code>embedUrl</code> - String URL to show in the embedded preview.</dd>
<dd><code>embedType</code> - String MIME type of the embedded preview,
(e.g., text/html or video/mp4).</dd>
<dd><code>embedWidth</code> - int Width of the embedded preview.</dd>
<dd><code>embedHeight</code> - int Height of the embedded preview.</dd>
<dd><code>duration</code> - int Duration of the content, in seconds.</dd>
<dd><code>author</code> - String Author of the content.</dd>
<dd><code>animation</code> - Animation Preview of the content as an animation,
if available; may be null.</dd>
<dd><code>audio</code> - Audio Preview of the content as an audio
file, if available; may be null.</dd>
<dd><code>document</code> - Document Preview of the content as a document,
if available (currently only available
for small PDF files and ZIP archives);
may be null.</dd>
<dd><code>sticker</code> - Sticker Preview of the content as a sticker
for small WEBP files, if available;
may be null.</dd>
<dd><code>video</code> - Video Preview of the content as a video, if
available; may be null.</dd>
<dd><code>videoNote</code> - VideoNote Preview of the content as a video
note, if available; may be null.</dd>
<dd><code>voiceNote</code> - VoiceNote Preview of the content as a voice
note, if available; may be null.</dd>
<dd><code>instantViewVersion</code> - int Version of instant view, available
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="member-name">WebPage</span>​(<spanclass="parameters"><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/io/DataInput.html"title="class or interface in java.io"class="external-link">DataInput</a> input)</span>
throws <spanclass="exceptions"><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/io/IOException.html"title="class or interface in java.io"class="external-link">IOException</a></span></div>
<dlclass="notes">
<dt>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/io/IOException.html"title="class or interface in java.io"class="external-link">IOException</a></code></dd>
<dd><code><ahref="TdApi.Object.html#getConstructor()">getConstructor</a></code> in class <code><ahref="TdApi.Object.html"title="class in it.tdlight.jni">TdApi.Object</a></code></dd>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type">void</span> <spanclass="member-name">serialize</span>​(<spanclass="parameters"><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/io/DataOutput.html"title="class or interface in java.io"class="external-link">DataOutput</a> output)</span>
throws <spanclass="exceptions"><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/io/IOException.html"title="class or interface in java.io"class="external-link">IOException</a></span></div>
<dd><code><ahref="TdApi.Object.html#serialize(java.io.DataOutput)">serialize</a></code> in class <code><ahref="TdApi.Object.html"title="class in it.tdlight.jni">TdApi.Object</a></code></dd>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/io/IOException.html"title="class or interface in java.io"class="external-link">IOException</a></code></dd>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type">boolean</span> <spanclass="member-name">equals</span>​(<spanclass="parameters"><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a> o)</span></div>
<dlclass="notes">
<dt>Overrides:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"title="class or interface in java.lang"class="external-link">equals</a></code> in class <code><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></code></dd>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Object.html#hashCode()"title="class or interface in java.lang"class="external-link">hashCode</a></code> in class <code><ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></code></dd>