<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="use-summary">
<tableclass="summary-table">
<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></caption>
<thead>
<tr>
<thclass="col-first"scope="col">Modifier and Type</th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.ChatListArchive.html"title="class in it.tdlight.jni">TdApi.ChatListArchive</a></span></code></th>
<tdclass="col-last">
<divclass="block">A list of chats usually located at
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.ChatListFilter.html"title="class in it.tdlight.jni">TdApi.ChatListFilter</a></span></code></th>
<tdclass="col-last">
<divclass="block">A list of chats belonging to a chat filter.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.ChatListMain.html"title="class in it.tdlight.jni">TdApi.ChatListMain</a></span></code></th>
<tdclass="col-last">
<divclass="block">A main list of chats.</div>
</td>
</tr>
</tbody>
</table>
</div>
<divclass="use-summary">
<tableclass="summary-table">
<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></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.ChatList.html"title="class in it.tdlight.jni">TdApi.ChatList</a></code></td>
<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></caption>
<ahref="../TdApi.ChatList.html"title="class in it.tdlight.jni">TdApi.ChatList</a> chatList)</code></th>
<tdclass="col-last">
<divclass="block">Adds a chat to a chat list.</div>
</td>
</tr>
<trclass="row-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.ChatLists.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatList%5B%5D)">ChatLists</a></span>​(<ahref="../TdApi.ChatList.html"title="class in it.tdlight.jni">TdApi.ChatList</a>[] chatLists)</code></th>
<tdclass="col-last">
<divclass="block">Contains a list of chat lists.</div>
</td>
</tr>
<trclass="alt-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.ChatPosition.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatList,long,boolean,it.tdlight.jni.TdApi.ChatSource)">ChatPosition</a></span>​(<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></th>
<tdclass="col-last">
<divclass="block">Describes a position of a chat in a chat list.</div>
</td>
</tr>
<trclass="row-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.GetChats.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatList,long,long,int)">GetChats</a></span>​(<ahref="../TdApi.ChatList.html"title="class in it.tdlight.jni">TdApi.ChatList</a> chatList,
long offsetOrder,
long offsetChatId,
int limit)</code></th>
<tdclass="col-last">
<divclass="block">Returns an ordered list of chats in
a chat list.</div>
</td>
</tr>
<trclass="alt-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.SearchMessages.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatList,java.lang.String,int,long,long,int,it.tdlight.jni.TdApi.SearchMessagesFilter,int,int)">SearchMessages</a></span>​(<ahref="../TdApi.ChatList.html"title="class in it.tdlight.jni">TdApi.ChatList</a> chatList,
<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> query,
int offsetDate,
long offsetChatId,
long offsetMessageId,
int limit,
<ahref="../TdApi.SearchMessagesFilter.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</a> filter,
int minDate,
int maxDate)</code></th>
<tdclass="col-last">
<divclass="block">Searches for messages in all chats
except secret chats.</div>
</td>
</tr>
<trclass="row-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.SetPinnedChats.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatList,long%5B%5D)">SetPinnedChats</a></span>​(<ahref="../TdApi.ChatList.html"title="class in it.tdlight.jni">TdApi.ChatList</a> chatList,
long[] chatIds)</code></th>
<tdclass="col-last">
<divclass="block">Changes the order of pinned chats.</div>
</td>
</tr>
<trclass="alt-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.ToggleChatIsPinned.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatList,long,boolean)">ToggleChatIsPinned</a></span>​(<ahref="../TdApi.ChatList.html"title="class in it.tdlight.jni">TdApi.ChatList</a> chatList,
long chatId,
boolean isPinned)</code></th>
<tdclass="col-last">
<divclass="block">Changes the pinned state of a chat.</div>
</td>
</tr>
<trclass="row-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.UpdateUnreadChatCount.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatList,int,int,int,int,int)">UpdateUnreadChatCount</a></span>​(<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></th>
<tdclass="col-last">
<divclass="block">Number of unread chats, i.e.</div>
</td>
</tr>
<trclass="alt-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.UpdateUnreadMessageCount.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatList,int,int)">UpdateUnreadMessageCount</a></span>​(<ahref="../TdApi.ChatList.html"title="class in it.tdlight.jni">TdApi.ChatList</a> chatList,
int unreadCount,
int unreadUnmutedCount)</code></th>
<tdclass="col-last">
<divclass="block">Number of unread messages in a chat