Confused about "Search"?
Let us know how we can improve our documentation:
Message search is built-in to the chat API. You can enable and/or disable the search indexing on a per channel type . The command shown below selects the channels in which John is a member. Next, it searches the messages in those channels for the keyword “'supercalifragilisticexpialidocious'”:
Pagination works via the standard
offset parameters. The first argument, filter, uses a MongoDB style query expression.
Additionally, this endpoint can be used to search for messages that have attachments.