Package com.slack.api.methods.request.im
Class ImOpenRequest
- java.lang.Object
-
- com.slack.api.methods.request.im.ImOpenRequest
-
- All Implemented Interfaces:
SlackApiRequest
@Deprecated public class ImOpenRequest extends Object implements SlackApiRequest
Deprecated.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImOpenRequest.ImOpenRequestBuilderDeprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ImOpenRequest.ImOpenRequestBuilderbuilder()Deprecated.protected booleancanEqual(Object other)Deprecated.booleanequals(Object o)Deprecated.StringgetToken()Deprecated.Authentication token.StringgetUser()Deprecated.User to open a direct message channel with.inthashCode()Deprecated.booleanisIncludeLocale()Deprecated.Set this to `true` to receive the locale for this im.booleanisReturnIm()Deprecated.Boolean, indicates you want the full IM channel definition in the response.voidsetIncludeLocale(boolean includeLocale)Deprecated.Set this to `true` to receive the locale for this im.voidsetReturnIm(boolean returnIm)Deprecated.Boolean, indicates you want the full IM channel definition in the response.voidsetToken(String token)Deprecated.Authentication token.voidsetUser(String user)Deprecated.User to open a direct message channel with.StringtoString()Deprecated.
-
-
-
Method Detail
-
builder
public static ImOpenRequest.ImOpenRequestBuilder builder()
Deprecated.
-
getToken
public String getToken()
Deprecated.Authentication token. Requires scope: `im:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
getUser
public String getUser()
Deprecated.User to open a direct message channel with.
-
isReturnIm
public boolean isReturnIm()
Deprecated.Boolean, indicates you want the full IM channel definition in the response.
-
isIncludeLocale
public boolean isIncludeLocale()
Deprecated.Set this to `true` to receive the locale for this im. Defaults to `false`
-
setToken
public void setToken(String token)
Deprecated.Authentication token. Requires scope: `im:write`
-
setUser
public void setUser(String user)
Deprecated.User to open a direct message channel with.
-
setReturnIm
public void setReturnIm(boolean returnIm)
Deprecated.Boolean, indicates you want the full IM channel definition in the response.
-
setIncludeLocale
public void setIncludeLocale(boolean includeLocale)
Deprecated.Set this to `true` to receive the locale for this im. Defaults to `false`
-
canEqual
protected boolean canEqual(Object other)
Deprecated.
-
-