<divclass="inheritance"title="Inheritance Tree"><ahref="https://docs.oracle.com/en/java/javase/17/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">Duration of the animation, in seconds;
as defined by the sender.</div>
</div>
<divclass="col-first odd-row-color"><code><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></code></div>
<divclass="col-first even-row-color"><code><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></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> fileName,
<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> mimeType,
boolean hasStickers,
<ahref="TdApi.Minithumbnail.html"title="class in it.tdlight.jni">TdApi.Minithumbnail</a> minithumbnail,
<ahref="TdApi.Thumbnail.html"title="class in it.tdlight.jni">TdApi.Thumbnail</a> thumbnail,
<ahref="TdApi.File.html"title="class in it.tdlight.jni">TdApi.File</a> animation)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Describes an animation file.</div>
</div>
<divclass="col-constructor-name even-row-color"><code><ahref="#%3Cinit%3E(java.io.DataInput)"class="member-name-link">Animation</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/DataInput.html"title="class or interface in java.io"class="external-link">DataInput</a> input)</code></div>
<divclass="col-last even-row-color">
<divclass="block">Describes an animation file.</div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="#equals(java.lang.Object)"class="member-name-link">equals</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a> o)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="#serialize(java.io.DataOutput)"class="member-name-link">serialize</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/DataOutput.html"title="class or interface in java.io"class="external-link">DataOutput</a> output)</code></div>
<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/17/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/17/docs/api/java.base/java/lang/Object.html#clone()"title="class or interface in java.lang"class="external-link">clone</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()"title="class or interface in java.lang"class="external-link">finalize</a>, <ahref="https://docs.oracle.com/en/java/javase/17/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/17/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/17/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/17/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/17/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/17/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>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-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></span> <spanclass="element-name">fileName</span></div>
<divclass="block">Original name of the file; as defined
by the sender.</div>
</section>
</li>
<li>
<sectionclass="detail"id="mimeType">
<h3>mimeType</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-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></span> <spanclass="element-name">mimeType</span></div>
<divclass="block">MIME type of the file, usually
"image/gif" or "video/mp4".</div>
<divclass="block">True, if stickers were added to the
animation. The list of corresponding
sticker set can be received using getAttachedStickerSets.</div>
</section>
</li>
<li>
<sectionclass="detail"id="minithumbnail">
<h3>minithumbnail</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.Minithumbnail.html"title="class in it.tdlight.jni">TdApi.Minithumbnail</a></span> <spanclass="element-name">minithumbnail</span></div>
<divclass="block">Animation minithumbnail; may be null.</div>
</section>
</li>
<li>
<sectionclass="detail"id="thumbnail">
<h3>thumbnail</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.Thumbnail.html"title="class in it.tdlight.jni">TdApi.Thumbnail</a></span> <spanclass="element-name">thumbnail</span></div>
<divclass="block">Animation thumbnail in JPEG or MPEG4
format; may be null.</div>
</section>
</li>
<li>
<sectionclass="detail"id="animation">
<h3>animation</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.File.html"title="class in it.tdlight.jni">TdApi.File</a></span> <spanclass="element-name">animation</span></div>
<divclass="block">File containing the animation.</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> fileName,
<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> mimeType,
boolean hasStickers,
<ahref="TdApi.Minithumbnail.html"title="class in it.tdlight.jni">TdApi.Minithumbnail</a> minithumbnail,
<ahref="TdApi.Thumbnail.html"title="class in it.tdlight.jni">TdApi.Thumbnail</a> thumbnail,
<ahref="TdApi.File.html"title="class in it.tdlight.jni">TdApi.File</a> animation)</span></div>
<divclass="block">Describes an animation file. The
animation must be encoded in GIF or MPEG4 format.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>duration</code> - int Duration of the animation, in seconds;
as defined by the sender.</dd>
<dd><code>width</code> - int Width of the animation.</dd>
<dd><code>height</code> - int Height of the animation.</dd>
<dd><code>fileName</code> - String Original name of the file; as defined
by the sender.</dd>
<dd><code>mimeType</code> - String MIME type of the file, usually
"image/gif" or "video/mp4".</dd>
<dd><code>hasStickers</code> - boolean True, if stickers were added to the
animation. The list of corresponding
sticker set can be received using getAttachedStickerSets.</dd>
<dd><code>minithumbnail</code> - Minithumbnail Animation minithumbnail; may be null.</dd>
<dd><code>thumbnail</code> - Thumbnail Animation thumbnail in JPEG or MPEG4
format; may be null.</dd>
<dd><code>animation</code> - File File containing the animation.</dd>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="element-name">Animation</span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/17/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/17/docs/api/java.base/java/io/IOException.html"title="class or interface in java.io"class="external-link">IOException</a></span></div>
<divclass="block">Describes an animation file. The
animation must be encoded in GIF or MPEG4 format.</div>
<dlclass="notes">
<dt>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/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="element-name">serialize</span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/17/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/17/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>Specified by:</dt>
<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>
<dt>Throws:</dt>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/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="element-name">equals</span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/17/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/17/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/17/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/17/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/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></code></dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
<!-- ========= END OF CLASS DATA ========= -->
</main>
<footerrole="contentinfo">
<hr>
<pclass="legal-copy"><small>Copyright © 2021. All rights reserved.</small></p>