Class ConversationsInviteRequest
- java.lang.Object
-
- com.slack.api.methods.request.conversations.ConversationsInviteRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class ConversationsInviteRequest extends Object implements SlackApiRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConversationsInviteRequest.ConversationsInviteRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConversationsInviteRequest.ConversationsInviteRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetChannel()The ID of the public or private channel to invite user(s) to.StringgetToken()Authentication token.List<String>getUsers()A comma separated list of user IDs.inthashCode()voidsetChannel(String channel)The ID of the public or private channel to invite user(s) to.voidsetToken(String token)Authentication token.voidsetUsers(List<String> users)A comma separated list of user IDs.StringtoString()
-
-
-
Method Detail
-
builder
public static ConversationsInviteRequest.ConversationsInviteRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `conversations:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
getChannel
public String getChannel()
The ID of the public or private channel to invite user(s) to.
-
getUsers
public List<String> getUsers()
A comma separated list of user IDs. Up to 30 users may be listed.
-
setToken
public void setToken(String token)
Authentication token. Requires scope: `conversations:write`
-
setChannel
public void setChannel(String channel)
The ID of the public or private channel to invite user(s) to.
-
setUsers
public void setUsers(List<String> users)
A comma separated list of user IDs. Up to 30 users may be listed.
-
canEqual
protected boolean canEqual(Object other)
-
-