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
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 Details
-
builder
-
getToken
Authentication token. Requires scope: `conversations:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
getChannel
The ID of the public or private channel to invite user(s) to. -
getUsers
A comma separated list of user IDs. Up to 30 users may be listed. -
setToken
Authentication token. Requires scope: `conversations:write` -
setChannel
The ID of the public or private channel to invite user(s) to. -
setUsers
A comma separated list of user IDs. Up to 30 users may be listed. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-