356 lines
18 KiB
HTML
356 lines
18 KiB
HTML
<!DOCTYPE HTML>
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc -->
|
|
<title>Uses of Class it.tdlight.jni.TdApi.SearchMessagesFilter (tdlight API 3.3.102 API)</title>
|
|
<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 http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<meta name="description" content="use: package: it.tdlight.jni, class: TdApi, class: SearchMessagesFilter">
|
|
<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>
|
|
<script type="text/javascript" src="../../../../script-dir/jquery-3.5.1.min.js"></script>
|
|
<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="../package-summary.html">Package</a></li>
|
|
<li><a href="../TdApi.SearchMessagesFilter.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="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="sub-nav">
|
|
<div class="nav-list-search"><label for="search">SEARCH:</label>
|
|
<input type="text" id="search" value="search" disabled="disabled">
|
|
<input type="reset" id="reset" 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.SearchMessagesFilter" class="title">Uses of Class<br>it.tdlight.jni.TdApi.SearchMessagesFilter</h1>
|
|
</div>
|
|
<section class="class-uses">
|
|
<ul class="block-list">
|
|
<li>
|
|
<section class="detail" id="it.tdlight.jni">
|
|
<h2>Uses of <a href="../TdApi.SearchMessagesFilter.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</a> in <a href="../package-summary.html">it.tdlight.jni</a></h2>
|
|
<div class="use-summary">
|
|
<table class="summary-table">
|
|
<caption><span>Subclasses of <a href="../TdApi.SearchMessagesFilter.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</a> in <a href="../package-summary.html">it.tdlight.jni</a></span></caption>
|
|
<thead>
|
|
<tr>
|
|
<th class="col-first" scope="col">Modifier and Type</th>
|
|
<th class="col-second" scope="col">Class</th>
|
|
<th class="col-last" scope="col">Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr class="alt-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.SearchMessagesFilterAnimation.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilterAnimation</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">Returns only animation messages.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.SearchMessagesFilterAudio.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilterAudio</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">Returns only audio messages.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="alt-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.SearchMessagesFilterCall.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilterCall</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">Returns only call messages.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.SearchMessagesFilterChatPhoto.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilterChatPhoto</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">Returns only messages containing chat photos.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="alt-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.SearchMessagesFilterDocument.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilterDocument</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">Returns only document messages.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.SearchMessagesFilterEmpty.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilterEmpty</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">Returns all found messages, no filter is applied.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="alt-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.SearchMessagesFilterFailedToSend.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilterFailedToSend</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">Returns only failed to send messages.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.SearchMessagesFilterMention.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilterMention</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">Returns only messages with mentions
|
|
of the current user, or messages that
|
|
are replies to their messages.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="alt-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.SearchMessagesFilterMissedCall.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilterMissedCall</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">Returns only incoming call messages
|
|
with missed/declined discard reasons.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.SearchMessagesFilterPhoto.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilterPhoto</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">Returns only photo messages.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="alt-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.SearchMessagesFilterPhotoAndVideo.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilterPhotoAndVideo</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">Returns only photo and video messages.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.SearchMessagesFilterPinned.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilterPinned</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">Returns only pinned messages.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="alt-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.SearchMessagesFilterUnreadMention.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilterUnreadMention</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">Returns only messages with unread
|
|
mentions of the current user, or
|
|
messages that are replies to their
|
|
messages.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.SearchMessagesFilterUrl.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilterUrl</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">Returns only messages containing URLs.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="alt-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.SearchMessagesFilterVideo.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilterVideo</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">Returns only video messages.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.SearchMessagesFilterVideoNote.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilterVideoNote</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">Returns only video note messages.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="alt-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.SearchMessagesFilterVoiceAndVideoNote.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilterVoiceAndVideoNote</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">Returns only voice and video note messages.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.SearchMessagesFilterVoiceNote.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilterVoiceNote</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">Returns only voice note messages.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="use-summary">
|
|
<table class="summary-table">
|
|
<caption><span>Fields in <a href="../package-summary.html">it.tdlight.jni</a> declared as <a href="../TdApi.SearchMessagesFilter.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</a></span></caption>
|
|
<thead>
|
|
<tr>
|
|
<th class="col-first" scope="col">Modifier and Type</th>
|
|
<th class="col-second" scope="col">Field</th>
|
|
<th class="col-last" scope="col">Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr class="alt-color">
|
|
<td class="col-first"><code><a href="../TdApi.SearchMessagesFilter.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</a></code></td>
|
|
<th class="col-second" scope="row"><span class="type-name-label">TdApi.GetChatMessageCount.</span><code><span class="member-name-link"><a href="../TdApi.GetChatMessageCount.html#filter">filter</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">Filter for message content;
|
|
searchMessagesFilterEmpty is unsupported
|
|
in this function.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<td class="col-first"><code><a href="../TdApi.SearchMessagesFilter.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</a></code></td>
|
|
<th class="col-second" scope="row"><span class="type-name-label">TdApi.SearchChatMessages.</span><code><span class="member-name-link"><a href="../TdApi.SearchChatMessages.html#filter">filter</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">Filter for message content in the search results.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="alt-color">
|
|
<td class="col-first"><code><a href="../TdApi.SearchMessagesFilter.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</a></code></td>
|
|
<th class="col-second" scope="row"><span class="type-name-label">TdApi.SearchMessages.</span><code><span class="member-name-link"><a href="../TdApi.SearchMessages.html#filter">filter</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">Filter for message content in the
|
|
search results; searchMessagesFilterCall,
|
|
searchMessagesFilterMissedCall,
|
|
searchMessagesFilterMention,
|
|
searchMessagesFilterUnreadMention,
|
|
searchMessagesFilterFailedToSend and
|
|
searchMessagesFilterPinned are
|
|
unsupported in this function.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<td class="col-first"><code><a href="../TdApi.SearchMessagesFilter.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</a></code></td>
|
|
<th class="col-second" scope="row"><span class="type-name-label">TdApi.SearchSecretMessages.</span><code><span class="member-name-link"><a href="../TdApi.SearchSecretMessages.html#filter">filter</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">A filter for message content in the search results.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="use-summary">
|
|
<table class="summary-table">
|
|
<caption><span>Constructors in <a href="../package-summary.html">it.tdlight.jni</a> with parameters of type <a href="../TdApi.SearchMessagesFilter.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</a></span></caption>
|
|
<thead>
|
|
<tr>
|
|
<th class="col-first" scope="col">Constructor</th>
|
|
<th class="col-last" scope="col">Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr class="alt-color">
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.GetChatMessageCount.html#%3Cinit%3E(long,it.tdlight.jni.TdApi.SearchMessagesFilter,boolean)">GetChatMessageCount</a></span>​(long chatId,
|
|
<a href="../TdApi.SearchMessagesFilter.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</a> filter,
|
|
boolean returnLocal)</code></th>
|
|
<td class="col-last">
|
|
<div class="block">Returns approximate number of messages
|
|
of the specified type in the chat.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.SearchChatMessages.html#%3Cinit%3E(long,java.lang.String,it.tdlight.jni.TdApi.MessageSender,long,int,int,it.tdlight.jni.TdApi.SearchMessagesFilter,long)">SearchChatMessages</a></span>​(long chatId,
|
|
<a href="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,
|
|
<a href="../TdApi.MessageSender.html" title="class in it.tdlight.jni">TdApi.MessageSender</a> sender,
|
|
long fromMessageId,
|
|
int offset,
|
|
int limit,
|
|
<a href="../TdApi.SearchMessagesFilter.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</a> filter,
|
|
long messageThreadId)</code></th>
|
|
<td class="col-last">
|
|
<div class="block">Searches for messages with given words
|
|
in the chat.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="alt-color">
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../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>​(<a href="../TdApi.ChatList.html" title="class in it.tdlight.jni">TdApi.ChatList</a> chatList,
|
|
<a href="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,
|
|
<a href="../TdApi.SearchMessagesFilter.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</a> filter,
|
|
int minDate,
|
|
int maxDate)</code></th>
|
|
<td class="col-last">
|
|
<div class="block">Searches for messages in all chats
|
|
except secret chats.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.SearchSecretMessages.html#%3Cinit%3E(long,java.lang.String,java.lang.String,int,it.tdlight.jni.TdApi.SearchMessagesFilter)">SearchSecretMessages</a></span>​(long chatId,
|
|
<a href="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,
|
|
<a href="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> offset,
|
|
int limit,
|
|
<a href="../TdApi.SearchMessagesFilter.html" title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</a> filter)</code></th>
|
|
<td class="col-last">
|
|
<div class="block">Searches for messages in secret chats.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</main>
|
|
<footer role="contentinfo">
|
|
<nav role="navigation">
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottom-nav" id="navbar.bottom">
|
|
<div class="skip-nav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<ul id="navbar.bottom.firstrow" class="nav-list" title="Navigation">
|
|
<li><a href="../package-summary.html">Package</a></li>
|
|
<li><a href="../TdApi.SearchMessagesFilter.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="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
<span class="skip-nav" id="skip.navbar.bottom">
|
|
<!-- -->
|
|
</span></nav>
|
|
<p class="legal-copy"><small>Copyright © 2021. All rights reserved.</small></p>
|
|
</footer>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|