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

com.slack.api.methods.request.conversations.ConversationsInviteSharedRequest Maven / Gradle / Ivy

There is a newer version: 1.39.0
Show newest version
package com.slack.api.methods.request.conversations;

import com.slack.api.methods.SlackApiRequest;
import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * https://api.slack.com/methods/conversations.inviteShared
 */
@Data
@Builder
public class ConversationsInviteSharedRequest implements SlackApiRequest {

    /**
     * Authentication token bearing required scopes.
     * Tokens should be passed as an HTTP Authorization header or alternatively, as a POST parameter.
     */
    private String token;

    /**
     * ID of the channel on your team that you'd like to share
     */
    private String channel;

    /**
     * Optional email to receive this invite. Either emails or user_ids must be provided.
     */
    private List emails;

    /**
     * Optional boolean on whether invite is to an external limited member. Defaults to true.
     */
    private Boolean externalLimited;

    /**
     * Optional user_id to receive this invite. Either emails or user_ids must be provided.
     */
    private List userIds;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy