com.slack.api.methods.request.pins.PinsAddRequest Maven / Gradle / Ivy
The newest version!
package com.slack.api.methods.request.pins;
import com.slack.api.methods.SlackApiRequest;
import lombok.Builder;
import lombok.Data;
/**
* https://api.slack.com/methods/pins.add
*/
@Data
@Builder
public class PinsAddRequest implements SlackApiRequest {
/**
* Authentication token. Requires scope: `pins:write`
*/
private String token;
/**
* Channel to pin the item in.
*/
private String channel;
/**
* File to pin.
*/
@Deprecated
private String file;
/**
* File comment to pin.
*/
@Deprecated
private String fileComment;
/**
* Timestamp of the message to pin.
*/
private String timestamp;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy