Class ConversationsOpenRequest
java.lang.Object
com.slack.api.methods.request.conversations.ConversationsOpenRequest
- All Implemented Interfaces:
SlackApiRequest
https://docs.slack.dev/reference/methods/conversations.open
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanResume a conversation by supplying an `im` or `mpim`'s ID.getToken()Authentication token.getUsers()Comma separated lists of users.inthashCode()booleanBoolean, indicates you want the full IM channel definition in the response.voidsetChannel(String channel) Resume a conversation by supplying an `im` or `mpim`'s ID.voidsetReturnIm(boolean returnIm) Boolean, indicates you want the full IM channel definition in the response.voidAuthentication token.voidComma separated lists of users.toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `conversations:write`- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
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`- Specified by:
setTokenin interfaceSlackApiRequest
-
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
-