All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.slack.api.methods.request.pins.PinsAddRequest Maven / Gradle / Ivy

There is a newer version: 1.39.0
Show 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 - 2024 Weber Informatics LLC | Privacy Policy