tdlight-docs/tdlight.api/it/tdlight/jni/class-use/TdApi.ChatList.html

244 lines
17 KiB
HTML
Raw Normal View History

2023-05-09 12:19:34 +02:00
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
2023-05-21 01:39:16 +02:00
<title>Uses of Class it.tdlight.jni.TdApi.ChatList (TDLight API 4.0.395 API)</title>
2023-05-09 12:19:34 +02:00
<meta name="viewport" content="width=device-width, initial-scale=1.0"><style>
#memberSummary_tabpanel{overflow-x: auto;}
li.blockList{overflow-x: auto;}
td.colLast div{max-width:30vw;}
#search{width: 400px;max-width: 65vw;}
.title,.subTitle,pre,.inheritance,h1,h2,h3,h4,h5,.memberSummary,.memberSignature,.typeSummary,.blockList,.contentContainer{white-space:normal;word-break:break-word;}
ul{padding-left:10px}
</style>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="use: module: tdlight.api, package: it.tdlight.jni, class: TdApi, class: ChatList">
<meta name="generator" content="javadoc/ClassUseWriter">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
2023-05-10 15:31:12 +02:00
<script type="text/javascript" src="../../../../../script-dir/jquery-3.6.1.min.js"></script>
2023-05-09 12:19:34 +02:00
<script type="text/javascript" src="../../../../../script-dir/jquery-ui.min.js"></script>
</head>
<body class="class-use-page">
<script type="text/javascript">var pathtoroot = "../../../../../";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
<li><a href="../../../../module-summary.html">Module</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../TdApi.ChatList.html" title="class in it.tdlight.jni">Class</a></li>
<li class="nav-bar-cell1-rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html#use">Help</a></li>
</ul>
</div>
<div class="sub-nav">
<div class="nav-list-search"><label for="search-input">SEARCH:</label>
<input type="text" id="search-input" value="search" disabled="disabled">
<input type="reset" id="reset-button" value="reset" disabled="disabled">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<div class="header">
<h1 title="Uses of Class it.tdlight.jni.TdApi.ChatList" class="title">Uses of Class<br>it.tdlight.jni.TdApi.ChatList</h1>
</div>
<section class="class-uses">
<ul class="block-list">
<li>
<section class="detail" id="it.tdlight.jni">
<h2>Uses of <a href="../TdApi.ChatList.html" title="class in it.tdlight.jni">TdApi.ChatList</a> in <a href="../package-summary.html">it.tdlight.jni</a></h2>
<div class="caption"><span>Subclasses of <a href="../TdApi.ChatList.html" title="class in it.tdlight.jni">TdApi.ChatList</a> in <a href="../package-summary.html">it.tdlight.jni</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Class</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>static final class&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="../TdApi.ChatListArchive.html" class="type-name-link" title="class in it.tdlight.jni">TdApi.ChatListArchive</a></code></div>
<div class="col-last even-row-color">
<div class="block">A list of chats usually located at the top of the main chat list.</div>
</div>
<div class="col-first odd-row-color"><code>static final class&nbsp;</code></div>
<div class="col-second odd-row-color"><code><a href="../TdApi.ChatListFolder.html" class="type-name-link" title="class in it.tdlight.jni">TdApi.ChatListFolder</a></code></div>
<div class="col-last odd-row-color">
<div class="block">A list of chats added to a chat folder.</div>
</div>
<div class="col-first even-row-color"><code>static final class&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="../TdApi.ChatListMain.html" class="type-name-link" title="class in it.tdlight.jni">TdApi.ChatListMain</a></code></div>
<div class="col-last even-row-color">
<div class="block">A main list of chats.</div>
</div>
</div>
<div class="caption"><span>Fields in <a href="../package-summary.html">it.tdlight.jni</a> declared as <a href="../TdApi.ChatList.html" title="class in it.tdlight.jni">TdApi.ChatList</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Field</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code><a href="../TdApi.ChatList.html" title="class in it.tdlight.jni">TdApi.ChatList</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">TdApi.AddChatToList.</span><code><a href="../TdApi.AddChatToList.html#chatList" class="member-name-link">chatList</a></code></div>
<div class="col-last even-row-color">
<div class="block">The chat list.</div>
</div>
<div class="col-first odd-row-color"><code><a href="../TdApi.ChatList.html" title="class in it.tdlight.jni">TdApi.ChatList</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">TdApi.GetChats.</span><code><a href="../TdApi.GetChats.html#chatList" class="member-name-link">chatList</a></code></div>
<div class="col-last odd-row-color">
<div class="block">The chat list in which to return chats; pass null to get chats from the main chat list.</div>
</div>
<div class="col-first even-row-color"><code><a href="../TdApi.ChatList.html" title="class in it.tdlight.jni">TdApi.ChatList</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">TdApi.LoadChats.</span><code><a href="../TdApi.LoadChats.html#chatList" class="member-name-link">chatList</a></code></div>
<div class="col-last even-row-color">
<div class="block">The chat list in which to load chats; pass null to load chats from the main chat list.</div>
</div>
<div class="col-first odd-row-color"><code><a href="../TdApi.ChatList.html" title="class in it.tdlight.jni">TdApi.ChatList</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">TdApi.ReadChatList.</span><code><a href="../TdApi.ReadChatList.html#chatList" class="member-name-link">chatList</a></code></div>
<div class="col-last odd-row-color">
<div class="block">Chat list in which to mark all chats as read.</div>
</div>
<div class="col-first even-row-color"><code><a href="../TdApi.ChatList.html" title="class in it.tdlight.jni">TdApi.ChatList</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">TdApi.SearchMessages.</span><code><a href="../TdApi.SearchMessages.html#chatList" class="member-name-link">chatList</a></code></div>
<div class="col-last even-row-color">
<div class="block">Chat list in which to search messages; pass null to search in all chats regardless of their chat list.</div>
</div>
<div class="col-first odd-row-color"><code><a href="../TdApi.ChatList.html" title="class in it.tdlight.jni">TdApi.ChatList</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">TdApi.SetPinnedChats.</span><code><a href="../TdApi.SetPinnedChats.html#chatList" class="member-name-link">chatList</a></code></div>
<div class="col-last odd-row-color">
<div class="block">Chat list in which to change the order of pinned chats.</div>
</div>
<div class="col-first even-row-color"><code><a href="../TdApi.ChatList.html" title="class in it.tdlight.jni">TdApi.ChatList</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">TdApi.ToggleChatIsPinned.</span><code><a href="../TdApi.ToggleChatIsPinned.html#chatList" class="member-name-link">chatList</a></code></div>
<div class="col-last even-row-color">
<div class="block">Chat list in which to change the pinned state of the chat.</div>
</div>
<div class="col-first odd-row-color"><code><a href="../TdApi.ChatList.html" title="class in it.tdlight.jni">TdApi.ChatList</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">TdApi.UpdateUnreadChatCount.</span><code><a href="../TdApi.UpdateUnreadChatCount.html#chatList" class="member-name-link">chatList</a></code></div>
<div class="col-last odd-row-color">
<div class="block">The chat list with changed number of unread messages.</div>
</div>
<div class="col-first even-row-color"><code><a href="../TdApi.ChatList.html" title="class in it.tdlight.jni">TdApi.ChatList</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">TdApi.UpdateUnreadMessageCount.</span><code><a href="../TdApi.UpdateUnreadMessageCount.html#chatList" class="member-name-link">chatList</a></code></div>
<div class="col-last even-row-color">
<div class="block">The chat list with changed number of unread messages.</div>
</div>
<div class="col-first odd-row-color"><code><a href="../TdApi.ChatList.html" title="class in it.tdlight.jni">TdApi.ChatList</a>[]</code></div>
<div class="col-second odd-row-color"><span class="type-name-label">TdApi.ChatLists.</span><code><a href="../TdApi.ChatLists.html#chatLists" class="member-name-link">chatLists</a></code></div>
<div class="col-last odd-row-color">
<div class="block">List of chat lists.</div>
</div>
<div class="col-first even-row-color"><code><a href="../TdApi.ChatList.html" title="class in it.tdlight.jni">TdApi.ChatList</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">TdApi.ChatPosition.</span><code><a href="../TdApi.ChatPosition.html#list" class="member-name-link">list</a></code></div>
<div class="col-last even-row-color">
<div class="block">The chat list.</div>
</div>
</div>
<div class="caption"><span>Constructors in <a href="../package-summary.html">it.tdlight.jni</a> with parameters of type <a href="../TdApi.ChatList.html" title="class in it.tdlight.jni">TdApi.ChatList</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier</div>
<div class="table-header col-second">Constructor</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="../TdApi.AddChatToList.html#%3Cinit%3E(long,it.tdlight.jni.TdApi.ChatList)" class="member-name-link">AddChatToList</a><wbr>(long&nbsp;chatId,
<a href="../TdApi.ChatList.html" title="class in it.tdlight.jni">TdApi.ChatList</a>&nbsp;chatList)</code></div>
<div class="col-last even-row-color">
<div class="block">Adds a chat to a chat list.</div>
</div>
<div class="col-first odd-row-color"><code>&nbsp;</code></div>
<div class="col-second odd-row-color"><code><a href="../TdApi.ChatLists.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatList%5B%5D)" class="member-name-link">ChatLists</a><wbr>(<a href="../TdApi.ChatList.html" title="class in it.tdlight.jni">TdApi.ChatList</a>[]&nbsp;chatLists)</code></div>
<div class="col-last odd-row-color">
<div class="block">Contains a list of chat lists.</div>
</div>
<div class="col-first even-row-color"><code>&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="../TdApi.ChatPosition.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatList,long,boolean,it.tdlight.jni.TdApi.ChatSource)" class="member-name-link">ChatPosition</a><wbr>(<a href="../TdApi.ChatList.html" title="class in it.tdlight.jni">TdApi.ChatList</a>&nbsp;list,
long&nbsp;order,
boolean&nbsp;isPinned,
<a href="../TdApi.ChatSource.html" title="class in it.tdlight.jni">TdApi.ChatSource</a>&nbsp;source)</code></div>
<div class="col-last even-row-color">
<div class="block">Describes a position of a chat in a chat list.</div>
</div>
<div class="col-first odd-row-color"><code>&nbsp;</code></div>
<div class="col-second odd-row-color"><code><a href="../TdApi.GetChats.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatList,int)" class="member-name-link">GetChats</a><wbr>(<a href="../TdApi.ChatList.html" title="class in it.tdlight.jni">TdApi.ChatList</a>&nbsp;chatList,
int&nbsp;limit)</code></div>
<div class="col-last odd-row-color">
<div class="block">Returns an ordered list of chats from the beginning of a chat list.</div>
</div>
<div class="col-first even-row-color"><code>&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="../TdApi.LoadChats.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatList,int)" class="member-name-link">LoadChats</a><wbr>(<a href="../TdApi.ChatList.html" title="class in it.tdlight.jni">TdApi.ChatList</a>&nbsp;chatList,
int&nbsp;limit)</code></div>
<div class="col-last even-row-color">
<div class="block">Loads more chats from a chat list.</div>
</div>
<div class="col-first odd-row-color"><code>&nbsp;</code></div>
<div class="col-second odd-row-color"><code><a href="../TdApi.ReadChatList.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatList)" class="member-name-link">ReadChatList</a><wbr>(<a href="../TdApi.ChatList.html" title="class in it.tdlight.jni">TdApi.ChatList</a>&nbsp;chatList)</code></div>
<div class="col-last odd-row-color">
<div class="block">Traverse all chats in a chat list and marks all messages in the chats as read.</div>
</div>
<div class="col-first even-row-color"><code>&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="../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>(<a href="../TdApi.ChatList.html" title="class in it.tdlight.jni">TdApi.ChatList</a>&nbsp;chatList,
<a href="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>&nbsp;query,
<a href="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>&nbsp;offset,
int&nbsp;limit,
<a href="../TdApi.SearchMessagesFilter.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</a>&nbsp;filter,
int&nbsp;minDate,
int&nbsp;maxDate)</code></div>
<div class="col-last even-row-color">
<div class="block">Searches for messages in all chats except secret chats.</div>
</div>
<div class="col-first odd-row-color"><code>&nbsp;</code></div>
<div class="col-second odd-row-color"><code><a href="../TdApi.SetPinnedChats.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatList,long%5B%5D)" class="member-name-link">SetPinnedChats</a><wbr>(<a href="../TdApi.ChatList.html" title="class in it.tdlight.jni">TdApi.ChatList</a>&nbsp;chatList,
long[]&nbsp;chatIds)</code></div>
<div class="col-last odd-row-color">
<div class="block">Changes the order of pinned chats.</div>
</div>
<div class="col-first even-row-color"><code>&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="../TdApi.ToggleChatIsPinned.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatList,long,boolean)" class="member-name-link">ToggleChatIsPinned</a><wbr>(<a href="../TdApi.ChatList.html" title="class in it.tdlight.jni">TdApi.ChatList</a>&nbsp;chatList,
long&nbsp;chatId,
boolean&nbsp;isPinned)</code></div>
<div class="col-last even-row-color">
<div class="block">Changes the pinned state of a chat.</div>
</div>
<div class="col-first odd-row-color"><code>&nbsp;</code></div>
<div class="col-second odd-row-color"><code><a href="../TdApi.UpdateUnreadChatCount.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatList,int,int,int,int,int)" class="member-name-link">UpdateUnreadChatCount</a><wbr>(<a href="../TdApi.ChatList.html" title="class in it.tdlight.jni">TdApi.ChatList</a>&nbsp;chatList,
int&nbsp;totalCount,
int&nbsp;unreadCount,
int&nbsp;unreadUnmutedCount,
int&nbsp;markedAsUnreadCount,
int&nbsp;markedAsUnreadUnmutedCount)</code></div>
<div class="col-last odd-row-color">
<div class="block">Number of unread chats, i.e.</div>
</div>
<div class="col-first even-row-color"><code>&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="../TdApi.UpdateUnreadMessageCount.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatList,int,int)" class="member-name-link">UpdateUnreadMessageCount</a><wbr>(<a href="../TdApi.ChatList.html" title="class in it.tdlight.jni">TdApi.ChatList</a>&nbsp;chatList,
int&nbsp;unreadCount,
int&nbsp;unreadUnmutedCount)</code></div>
<div class="col-last even-row-color">
<div class="block">Number of unread messages in a chat list has changed.</div>
</div>
</div>
</section>
</li>
</ul>
</section>
</main>
<footer role="contentinfo">
<hr>
<p class="legal-copy"><small>Copyright &#169; 2023. All rights reserved.</small></p>
</footer>
</div>
</div>
</body>
</html>