Class ConversationsOpenRequest.ConversationsOpenRequestBuilder
java.lang.Object
com.slack.api.methods.request.conversations.ConversationsOpenRequest.ConversationsOpenRequestBuilder
- Enclosing class:
- ConversationsOpenRequest
public static class ConversationsOpenRequest.ConversationsOpenRequestBuilder extends Object
-
Method Summary
Modifier and Type Method Description ConversationsOpenRequestbuild()ConversationsOpenRequest.ConversationsOpenRequestBuilderchannel(String channel)Resume a conversation by supplying an `im` or `mpim`'s ID.ConversationsOpenRequest.ConversationsOpenRequestBuilderreturnIm(boolean returnIm)Boolean, indicates you want the full IM channel definition in the response.ConversationsOpenRequest.ConversationsOpenRequestBuildertoken(String token)Authentication token.StringtoString()ConversationsOpenRequest.ConversationsOpenRequestBuilderusers(List<String> users)Comma separated lists of users.
-
Method Details
-
token
Authentication token. Requires scope: `conversations:write`- Returns:
this.
-
channel
Resume a conversation by supplying an `im` or `mpim`'s ID. Or provide the `users` field instead.- Returns:
this.
-
returnIm
Boolean, indicates you want the full IM channel definition in the response.- Returns:
this.
-
users
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`.- Returns:
this.
-
build
-
toString
-