<h1title="Uses of Class it.tdlight.jni.TdApi.SearchMessagesFilter"class="title">Uses of Class<br>it.tdlight.jni.TdApi.SearchMessagesFilter</h1>
</div>
<sectionclass="class-uses">
<ulclass="block-list">
<li>
<sectionclass="detail"id="it.tdlight.jni">
<h2>Uses of <ahref="../TdApi.SearchMessagesFilter.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</a> in <ahref="../package-summary.html">it.tdlight.jni</a></h2>
<divclass="use-summary">
<tableclass="summary-table">
<caption><span>Subclasses of <ahref="../TdApi.SearchMessagesFilter.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</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.SearchMessagesFilterAnimation.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterAnimation</a></span></code></th>
<tdclass="col-last">
<divclass="block">Returns only animation messages.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.SearchMessagesFilterAudio.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterAudio</a></span></code></th>
<tdclass="col-last">
<divclass="block">Returns only audio messages.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.SearchMessagesFilterCall.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterCall</a></span></code></th>
<tdclass="col-last">
<divclass="block">Returns only call messages.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.SearchMessagesFilterChatPhoto.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterChatPhoto</a></span></code></th>
<tdclass="col-last">
<divclass="block">Returns only messages containing chat photos.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.SearchMessagesFilterDocument.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterDocument</a></span></code></th>
<tdclass="col-last">
<divclass="block">Returns only document messages.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.SearchMessagesFilterEmpty.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterEmpty</a></span></code></th>
<tdclass="col-last">
<divclass="block">Returns all found messages, no filter is applied.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.SearchMessagesFilterFailedToSend.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterFailedToSend</a></span></code></th>
<tdclass="col-last">
<divclass="block">Returns only failed to send messages.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.SearchMessagesFilterMention.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterMention</a></span></code></th>
<tdclass="col-last">
<divclass="block">Returns only messages with mentions
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.SearchMessagesFilterMissedCall.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterMissedCall</a></span></code></th>
<tdclass="col-last">
<divclass="block">Returns only incoming call messages
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.SearchMessagesFilterPhoto.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterPhoto</a></span></code></th>
<tdclass="col-last">
<divclass="block">Returns only photo messages.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.SearchMessagesFilterPhotoAndVideo.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterPhotoAndVideo</a></span></code></th>
<tdclass="col-last">
<divclass="block">Returns only photo and video messages.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.SearchMessagesFilterPinned.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterPinned</a></span></code></th>
<tdclass="col-last">
<divclass="block">Returns only pinned messages.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.SearchMessagesFilterUnreadMention.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterUnreadMention</a></span></code></th>
<tdclass="col-last">
<divclass="block">Returns only messages with unread
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.SearchMessagesFilterUrl.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterUrl</a></span></code></th>
<tdclass="col-last">
<divclass="block">Returns only messages containing URLs.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.SearchMessagesFilterVideo.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterVideo</a></span></code></th>
<tdclass="col-last">
<divclass="block">Returns only video messages.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.SearchMessagesFilterVideoNote.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterVideoNote</a></span></code></th>
<tdclass="col-last">
<divclass="block">Returns only video note messages.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.SearchMessagesFilterVoiceAndVideoNote.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterVoiceAndVideoNote</a></span></code></th>
<tdclass="col-last">
<divclass="block">Returns only voice and video note messages.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.SearchMessagesFilterVoiceNote.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterVoiceNote</a></span></code></th>
<tdclass="col-last">
<divclass="block">Returns only voice note messages.</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.SearchMessagesFilter.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</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.SearchMessagesFilter.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</a></code></td>
<divclass="block">A filter for message content in the search results.</div>
</td>
</tr>
</tbody>
</table>
</div>
<divclass="use-summary">
<tableclass="summary-table">
<caption><span>Constructors in <ahref="../package-summary.html">it.tdlight.jni</a> with parameters of type <ahref="../TdApi.SearchMessagesFilter.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</a></span></caption>
<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,
<ahref="../TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a> sender,
long fromMessageId,
int offset,
int limit,
<ahref="../TdApi.SearchMessagesFilter.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</a> filter,
long messageThreadId)</code></th>
<tdclass="col-last">
<divclass="block">Searches for messages with given words
in the chat.</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
<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,
<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> offset,
int limit,
<ahref="../TdApi.SearchMessagesFilter.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</a> filter)</code></th>
<tdclass="col-last">
<divclass="block">Searches for messages in secret chats.</div>