<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">The chat identifiers of pinned chats in the folder.</div>
</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>
<divclass="block">Represents a folder for user chats.</div>
</div>
<divclass="col-constructor-name odd-row-color"><code><ahref="#%3Cinit%3E(java.io.DataInput)"class="member-name-link">ChatFolder</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 odd-row-color">
<divclass="block">Represents a folder for user chats.</div>
</div>
<divclass="col-constructor-name even-row-color"><code><ahref="#%3Cinit%3E(java.lang.String,it.tdlight.jni.TdApi.ChatFolderIcon,boolean,long%5B%5D,long%5B%5D,long%5B%5D,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean)"class="member-name-link">ChatFolder</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.ChatFolderIcon.html"title="class in it.tdlight.jni">TdApi.ChatFolderIcon</a> icon,
boolean isShareable,
long[] pinnedChatIds,
long[] includedChatIds,
long[] excludedChatIds,
boolean excludeMuted,
boolean excludeRead,
boolean excludeArchived,
boolean includeContacts,
boolean includeNonContacts,
boolean includeBots,
boolean includeGroups,
boolean includeChannels)</code></div>
<divclass="col-last even-row-color">
<divclass="block">Represents a folder for user chats.</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>
</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="title">
<h3>title</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">title</span></div>
<divclass="block">The title of the folder; 1-12 characters without line feeds.</div>
</section>
</li>
<li>
<sectionclass="detail"id="icon">
<h3>icon</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="TdApi.ChatFolderIcon.html"title="class in it.tdlight.jni">TdApi.ChatFolderIcon</a></span> <spanclass="element-name">icon</span></div>
<divclass="block">The chosen icon for the chat folder; may be null. If null, use getChatFolderDefaultIconName to get default icon name for the folder.</div>
<divclass="block">The chat identifiers of pinned chats in the folder. There can be up to getOption("chat_folder_chosen_chat_count_max") pinned and always included non-secret chats and the same number of secret chats, but the limit can be increased with Telegram Premium.</div>
<divclass="block">The chat identifiers of always included chats in the folder. There can be up to getOption("chat_folder_chosen_chat_count_max") pinned and always included non-secret chats and the same number of secret chats, but the limit can be increased with Telegram Premium.</div>
<divclass="block">The chat identifiers of always excluded chats in the folder. There can be up to getOption("chat_folder_chosen_chat_count_max") always excluded non-secret chats and the same number of secret chats, but the limit can be increased with Telegram Premium.</div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="element-name">ChatFolder</span><wbr><spanclass="parameters">(<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.ChatFolderIcon.html"title="class in it.tdlight.jni">TdApi.ChatFolderIcon</a> icon,
boolean isShareable,
long[] pinnedChatIds,
long[] includedChatIds,
long[] excludedChatIds,
boolean excludeMuted,
boolean excludeRead,
boolean excludeArchived,
boolean includeContacts,
boolean includeNonContacts,
boolean includeBots,
boolean includeGroups,
boolean includeChannels)</span></div>
<divclass="block">Represents a folder for user chats.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>title</code> - The title of the folder; 1-12 characters without line feeds.</dd>
<dd><code>icon</code> - The chosen icon for the chat folder; may be null. If null, use getChatFolderDefaultIconName to get default icon name for the folder.</dd>
<dd><code>isShareable</code> - True, if at least one link has been created for the folder.</dd>
<dd><code>pinnedChatIds</code> - The chat identifiers of pinned chats in the folder. There can be up to getOption("chat_folder_chosen_chat_count_max") pinned and always included non-secret chats and the same number of secret chats, but the limit can be increased with Telegram Premium.</dd>
<dd><code>includedChatIds</code> - The chat identifiers of always included chats in the folder. There can be up to getOption("chat_folder_chosen_chat_count_max") pinned and always included non-secret chats and the same number of secret chats, but the limit can be increased with Telegram Premium.</dd>
<dd><code>excludedChatIds</code> - The chat identifiers of always excluded chats in the folder. There can be up to getOption("chat_folder_chosen_chat_count_max") always excluded non-secret chats and the same number of secret chats, but the limit can be increased with Telegram Premium.</dd>
<dd><code>excludeMuted</code> - True, if muted chats need to be excluded.</dd>
<dd><code>excludeRead</code> - True, if read chats need to be excluded.</dd>
<dd><code>excludeArchived</code> - True, if archived chats need to be excluded.</dd>
<dd><code>includeContacts</code> - True, if contacts need to be included.</dd>
<dd><code>includeNonContacts</code> - True, if non-contact users need to be included.</dd>
<dd><code>includeBots</code> - True, if bots need to be included.</dd>
<dd><code>includeGroups</code> - True, if basic groups and supergroups need to be included.</dd>
<dd><code>includeChannels</code> - True, if channels need to be included.</dd>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="element-name">ChatFolder</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">Represents a folder for user chats.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>input</code> - Serialized input</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> - the deserialization failed</dd>
<divclass="block"><spanclass="descfrm-type-label">Description copied from class: <code><ahref="TdApi.Object.html#getConstructor()">TdApi.Object</a></code></span></div>
<divclass="block">Returns an identifier uniquely determining type of the object.</div>
<dlclass="notes">
<dt>Specified by:</dt>
<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>
<divclass="block">Serialize the TDLib class</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>Parameters:</dt>
<dd><code>output</code> - output data stream</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> - the serialization failed</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 © 2023. All rights reserved.</small></p>