SlackWeb.Search.messages

You're seeing just the function messages, go back to SlackWeb.Search module for more information.
Link to this function

messages(query, optional_params \\ %{})

View Source

Searches for messages matching a query.

Required Params

  • query - Search query. May contains booleans, etc. ex: pickleface

Optional Params

  • highlight - Pass a value of 1 to enable query highlight markers (see below). ex: 1
  • sort - Return matches sorted by either score or timestamp. ex: timestamp
  • sort_dir - Change sort direction to ascending (asc) or descending (desc). ex: asc

Errors the API can return: