com.slack.api.methods.request.search.SearchMessagesRequest Maven / Gradle / Ivy
The newest version!
package com.slack.api.methods.request.search;
import com.slack.api.methods.SlackApiRequest;
import lombok.Builder;
import lombok.Data;
/**
* https://api.slack.com/methods/search.messages
*/
@Data
@Builder
public class SearchMessagesRequest implements SlackApiRequest {
/**
* Authentication token. Requires scope: `search:read`
*/
private String token;
/**
* Change sort direction to ascending (`asc`) or descending (`desc`).
*/
private String sortDir;
/**
* Search query. May contain booleans, etc.
*/
private String query;
/**
* Return matches sorted by either `score` or `timestamp`.
*/
private String sort;
/**
* Pass a value of `true` to enable query highlight markers (see below).
*/
private boolean highlight;
private String cursor;
private Integer count;
private Integer page;
/**
* Required for org-wide apps.
*/
private String teamId;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy