<h1title="Uses of Class it.tdlight.jni.TdApi.ChatList"class="title">Uses of Class<br>it.tdlight.jni.TdApi.ChatList</h1>
</div>
<sectionclass="class-uses">
<ulclass="block-list">
<li>
<sectionclass="detail"id="it.tdlight.jni">
<h2>Uses of <ahref="../TdApi.ChatList.html"title="class in it.tdlight.jni">TdApi.ChatList</a> in <ahref="../package-summary.html">it.tdlight.jni</a></h2>
<divclass="caption"><span>Subclasses of <ahref="../TdApi.ChatList.html"title="class in it.tdlight.jni">TdApi.ChatList</a> in <ahref="../package-summary.html">it.tdlight.jni</a></span></div>
<divclass="summary-table three-column-summary">
<divclass="table-header col-first">Modifier and Type</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.ChatListArchive.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.ChatListArchive</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A list of chats usually located at the top of the main chat list.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.ChatListFolder.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.ChatListFolder</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">A list of chats added to a chat folder.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.ChatListMain.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.ChatListMain</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A main list of chats.</div>
</div>
</div>
<divclass="caption"><span>Fields in <ahref="../package-summary.html">it.tdlight.jni</a> declared as <ahref="../TdApi.ChatList.html"title="class in it.tdlight.jni">TdApi.ChatList</a></span></div>
<divclass="summary-table three-column-summary">
<divclass="table-header col-first">Modifier and Type</div>
<divclass="caption"><span>Constructors in <ahref="../package-summary.html">it.tdlight.jni</a> with parameters of type <ahref="../TdApi.ChatList.html"title="class in it.tdlight.jni">TdApi.ChatList</a></span></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.ChatLists.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatList%5B%5D)"class="member-name-link">ChatLists</a><wbr>(<ahref="../TdApi.ChatList.html"title="class in it.tdlight.jni">TdApi.ChatList</a>[] chatLists)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Contains a list of chat lists.</div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.ChatPosition.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatList,long,boolean,it.tdlight.jni.TdApi.ChatSource)"class="member-name-link">ChatPosition</a><wbr>(<ahref="../TdApi.ChatList.html"title="class in it.tdlight.jni">TdApi.ChatList</a> list,
long order,
boolean isPinned,
<ahref="../TdApi.ChatSource.html"title="class in it.tdlight.jni">TdApi.ChatSource</a> source)</code></div>
<divclass="col-last even-row-color">
<divclass="block">Describes a position of a chat in a chat list.</div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.GetChats.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatList,int)"class="member-name-link">GetChats</a><wbr>(<ahref="../TdApi.ChatList.html"title="class in it.tdlight.jni">TdApi.ChatList</a> chatList,
int limit)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Returns an ordered list of chats from the beginning of a chat list.</div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.LoadChats.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatList,int)"class="member-name-link">LoadChats</a><wbr>(<ahref="../TdApi.ChatList.html"title="class in it.tdlight.jni">TdApi.ChatList</a> chatList,
int limit)</code></div>
<divclass="col-last even-row-color">
<divclass="block">Loads more chats from a chat list.</div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.ReadChatList.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatList)"class="member-name-link">ReadChatList</a><wbr>(<ahref="../TdApi.ChatList.html"title="class in it.tdlight.jni">TdApi.ChatList</a> chatList)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Traverse all chats in a chat list and marks all messages in the chats as read.</div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.SearchMessages.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatList,java.lang.String,java.lang.String,int,it.tdlight.jni.TdApi.SearchMessagesFilter,int,int)"class="member-name-link">SearchMessages</a><wbr>(<ahref="../TdApi.ChatList.html"title="class in it.tdlight.jni">TdApi.ChatList</a> chatList,
<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> query,
<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> offset,
int limit,
<ahref="../TdApi.SearchMessagesFilter.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</a> filter,
int minDate,
int maxDate)</code></div>
<divclass="col-last even-row-color">
<divclass="block">Searches for messages in all chats except secret chats.</div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.SetPinnedChats.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatList,long%5B%5D)"class="member-name-link">SetPinnedChats</a><wbr>(<ahref="../TdApi.ChatList.html"title="class in it.tdlight.jni">TdApi.ChatList</a> chatList,
long[] chatIds)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Changes the order of pinned chats.</div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.ToggleChatIsPinned.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatList,long,boolean)"class="member-name-link">ToggleChatIsPinned</a><wbr>(<ahref="../TdApi.ChatList.html"title="class in it.tdlight.jni">TdApi.ChatList</a> chatList,
long chatId,
boolean isPinned)</code></div>
<divclass="col-last even-row-color">
<divclass="block">Changes the pinned state of a chat.</div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.UpdateUnreadChatCount.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatList,int,int,int,int,int)"class="member-name-link">UpdateUnreadChatCount</a><wbr>(<ahref="../TdApi.ChatList.html"title="class in it.tdlight.jni">TdApi.ChatList</a> chatList,
int totalCount,
int unreadCount,
int unreadUnmutedCount,
int markedAsUnreadCount,
int markedAsUnreadUnmutedCount)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Number of unread chats, i.e.</div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.UpdateUnreadMessageCount.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatList,int,int)"class="member-name-link">UpdateUnreadMessageCount</a><wbr>(<ahref="../TdApi.ChatList.html"title="class in it.tdlight.jni">TdApi.ChatList</a> chatList,
int unreadCount,
int unreadUnmutedCount)</code></div>
<divclass="col-last even-row-color">
<divclass="block">Number of unread messages in a chat list has changed.</div>
</div>
</div>
</section>
</li>
</ul>
</section>
</main>
<footerrole="contentinfo">
<hr>
<pclass="legal-copy"><small>Copyright © 2023. All rights reserved.</small></p>