<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="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></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.SearchMessagesFilterAnimation.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterAnimation</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">Returns only animation messages.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.SearchMessagesFilterAudio.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterAudio</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">Returns only audio messages.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.SearchMessagesFilterChatPhoto.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterChatPhoto</a></code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.SearchMessagesFilterDocument.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterDocument</a></code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.SearchMessagesFilterEmpty.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterEmpty</a></code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.SearchMessagesFilterFailedToSend.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterFailedToSend</a></code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.SearchMessagesFilterMention.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterMention</a></code></div>
<divclass="block">Returns only messages with mentions
of the current user, or messages that
are replies to their messages.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.SearchMessagesFilterPhoto.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterPhoto</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">Returns only photo messages.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.SearchMessagesFilterPhotoAndVideo.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterPhotoAndVideo</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">Returns only photo and video messages.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.SearchMessagesFilterPinned.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterPinned</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">Returns only pinned messages.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.SearchMessagesFilterUnreadMention.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterUnreadMention</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">Returns only messages with unread
mentions of the current user, or
messages that are replies to their
messages.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.SearchMessagesFilterUrl.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterUrl</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">Returns only messages containing URLs.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.SearchMessagesFilterVideo.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterVideo</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">Returns only video messages.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.SearchMessagesFilterVideoNote.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterVideoNote</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">Returns only video note messages.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.SearchMessagesFilterVoiceAndVideoNote.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterVoiceAndVideoNote</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">Returns only voice and video note messages.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.SearchMessagesFilterVoiceNote.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.SearchMessagesFilterVoiceNote</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">Returns only voice note messages.</div>
</div>
</div>
<divclass="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></div>
<divclass="summary-table three-column-summary">
<divclass="table-header col-first">Modifier and Type</div>
<divclass="col-first even-row-color"><code><ahref="../TdApi.SearchMessagesFilter.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</a></code></div>
<divclass="block">Filter for message content.</div>
</div>
<divclass="col-first odd-row-color"><code><ahref="../TdApi.SearchMessagesFilter.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</a></code></div>
<divclass="col-first even-row-color"><code><ahref="../TdApi.SearchMessagesFilter.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</a></code></div>
<divclass="block">Filter for message content.</div>
</div>
<divclass="col-first odd-row-color"><code><ahref="../TdApi.SearchMessagesFilter.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</a></code></div>
<divclass="block">Additional filter for messages to
search; pass null to search for all messages.</div>
</div>
<divclass="col-first even-row-color"><code><ahref="../TdApi.SearchMessagesFilter.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</a></code></div>
<divclass="block">Additional filter for messages to
search; pass null to search for all
messages.</div>
</div>
<divclass="col-first odd-row-color"><code><ahref="../TdApi.SearchMessagesFilter.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</a></code></div>
<divclass="block">Additional filter for messages to
search; pass null to search for all messages.</div>
</div>
</div>
<divclass="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></div>
<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="../TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a> senderId,
long fromMessageId,
int offset,
int limit,
<ahref="../TdApi.SearchMessagesFilter.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</a> filter,
long messageThreadId)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Searches for messages with given words
<divclass="col-second even-row-color"><code><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)"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,
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></div>
<divclass="col-last even-row-color">
<divclass="block">Searches for messages in all chats
<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)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Searches for messages in secret chats.</div>