Package com.slack.api.methods.request.im
Class ImOpenRequest.ImOpenRequestBuilder
java.lang.Object
com.slack.api.methods.request.im.ImOpenRequest.ImOpenRequestBuilder
- Enclosing class:
- ImOpenRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()includeLocale(boolean includeLocale) Set this to `true` to receive the locale for this im.returnIm(boolean returnIm) Boolean, indicates you want the full IM channel definition in the response.Authentication token.toString()User to open a direct message channel with.
-
Method Details
-
token
Authentication token. Requires scope: `im:write`- Returns:
this.
-
user
User to open a direct message channel with.- Returns:
this.
-
returnIm
Boolean, indicates you want the full IM channel definition in the response.- Returns:
this.
-
includeLocale
Set this to `true` to receive the locale for this im. Defaults to `false`- Returns:
this.
-
build
-
toString
-