com.slack.api.methods.request.im.ImHistoryRequest Maven / Gradle / Ivy
The newest version!
package com.slack.api.methods.request.im;
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 ImHistoryRequest implements SlackApiRequest {
/**
* Authentication token. Requires scope: `im:history`
*/
private String token;
/**
* Direct message channel to fetch history for.
*/
private String channel;
/**
* Start of time range of messages to include in results.
*/
private String oldest;
/**
* End of time range of messages to include in results.
*/
private String latest;
/**
* Include messages with latest or oldest timestamp in results.
*/
private boolean inclusive;
/**
* Number of messages to return, between 1 and 1000.
*/
private Integer count;
/**
* Include `unread_count_display` in the output?
*/
private boolean unreads;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy