com.slack.api.methods.request.mpim.MpimHistoryRequest Maven / Gradle / Ivy
package com.slack.api.methods.request.mpim;
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 MpimHistoryRequest implements SlackApiRequest {
/**
* Authentication token. Requires scope: `mpim:history`
*/
private String token;
/**
* Multiparty direct message 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;
/**
* Number of messages to return, between 1 and 1000.
*/
private Integer count;
/**
* Include messages with latest or oldest timestamp in results.
*/
private boolean inclusive;
/**
* Include `unread_count_display` in the output?
*/
private boolean unreads;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy