com.slack.api.methods.request.channels.ChannelsListRequest Maven / Gradle / Ivy
The newest version!
package com.slack.api.methods.request.channels;
import com.slack.api.methods.SlackApiRequest;
import lombok.Builder;
import lombok.Data;
@Deprecated // https://api.slack.com/changelog/2020-01-deprecating-antecedents-to-the-conversations-api
@Data
@Builder
public class ChannelsListRequest implements SlackApiRequest {
/**
* Authentication token. Requires scope: `channels:read`
*/
private String token;
/**
* Exclude the `members` collection from each `channel`
*/
private boolean excludeMembers;
/**
* Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute
* returned by a previous request's `response_metadata`.
* Default value fetches the first \"page\" of the collection. See [pagination](/docs/pagination) for more detail.
*/
private String cursor;
/**
* The maximum number of items to return.
* Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached.
*/
private Integer limit;
/**
* Exclude archived channels from the list
*/
private boolean excludeArchived;
/**
* Required for org-wide apps.
*/
private String teamId;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy