Class ConversationsInviteRequest
java.lang.Object
com.slack.api.methods.request.conversations.ConversationsInviteRequest
- All Implemented Interfaces:
SlackApiRequest
https://api.slack.com/methods/conversations.invite
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
The ID of the public or private channel to invite user(s) to.getForce()
When set to `true` and multiple user IDs are provided, continue inviting the valid ones while disregarding invalid IDs.getToken()
Authentication token.getUsers()
A comma separated list of user IDs.int
hashCode()
void
setChannel
(String channel) The ID of the public or private channel to invite user(s) to.void
When set to `true` and multiple user IDs are provided, continue inviting the valid ones while disregarding invalid IDs.void
Authentication token.void
A comma separated list of user IDs.toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `conversations:write`- Specified by:
getToken
in interfaceSlackApiRequest
- Returns:
- token string value or null
-
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. -
getForce
When set to `true` and multiple user IDs are provided, continue inviting the valid ones while disregarding invalid IDs. Defaults to `false`. -
setToken
Authentication token. Requires scope: `conversations:write`- Specified by:
setToken
in interfaceSlackApiRequest
-
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. -
setForce
When set to `true` and multiple user IDs are provided, continue inviting the valid ones while disregarding invalid IDs. Defaults to `false`. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-