Class ConversationsOpenRequest
java.lang.Object
com.slack.api.methods.request.conversations.ConversationsOpenRequest
- All Implemented Interfaces:
SlackApiRequest
public class ConversationsOpenRequest extends Object implements SlackApiRequest
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConversationsOpenRequest.ConversationsOpenRequestBuilder
-
Method Summary
Modifier and Type Method Description static ConversationsOpenRequest.ConversationsOpenRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getChannel()
Resume a conversation by supplying an `im` or `mpim`'s ID.String
getToken()
Authentication token.List<String>
getUsers()
Comma separated lists of users.int
hashCode()
boolean
isReturnIm()
Boolean, indicates you want the full IM channel definition in the response.void
setChannel(String channel)
Resume a conversation by supplying an `im` or `mpim`'s ID.void
setReturnIm(boolean returnIm)
Boolean, indicates you want the full IM channel definition in the response.void
setToken(String token)
Authentication token.void
setUsers(List<String> users)
Comma separated lists of users.String
toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `conversations:write`- Specified by:
getToken
in interfaceSlackApiRequest
-
getChannel
Resume a conversation by supplying an `im` or `mpim`'s ID. Or provide the `users` field instead. -
isReturnIm
public boolean isReturnIm()Boolean, indicates you want the full IM channel definition in the response. -
getUsers
Comma separated lists of users. If only one user is included, this creates a 1:1 DM. The ordering of the users is preserved whenever a multi-person direct message is returned. Supply a `channel` when not supplying `users`. -
setToken
Authentication token. Requires scope: `conversations:write` -
setChannel
Resume a conversation by supplying an `im` or `mpim`'s ID. Or provide the `users` field instead. -
setReturnIm
public void setReturnIm(boolean returnIm)Boolean, indicates you want the full IM channel definition in the response. -
setUsers
Comma separated lists of users. If only one user is included, this creates a 1:1 DM. The ordering of the users is preserved whenever a multi-person direct message is returned. Supply a `channel` when not supplying `users`. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-