Class ChatPostMessageResponse
java.lang.Object
com.slack.api.methods.response.chat.ChatPostMessageResponse
- All Implemented Interfaces:
SlackApiResponse
,SlackApiTextResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getError()
Returns all the HTTP response headers in the API response.getTs()
int
hashCode()
boolean
isOk()
void
setChannel
(String channel) void
setDeprecatedArgument
(String deprecatedArgument) void
void
void
setHttpResponseHeaders
(Map<String, List<String>> httpResponseHeaders) Sets the response headers.void
setMessage
(Message message) void
void
setOk
(boolean ok) void
setProvided
(String provided) void
setResponseMetadata
(ErrorResponseMetadata responseMetadata) void
void
setWarning
(String warning) toString()
-
Constructor Details
-
ChatPostMessageResponse
public ChatPostMessageResponse()
-
-
Method Details
-
isOk
public boolean isOk()- Specified by:
isOk
in interfaceSlackApiTextResponse
-
getWarning
- Specified by:
getWarning
in interfaceSlackApiTextResponse
-
getError
- Specified by:
getError
in interfaceSlackApiTextResponse
-
getNeeded
- Specified by:
getNeeded
in interfaceSlackApiTextResponse
-
getProvided
- Specified by:
getProvided
in interfaceSlackApiTextResponse
-
getHttpResponseHeaders
Description copied from interface:SlackApiResponse
Returns all the HTTP response headers in the API response. The keys are lower-cased.- Specified by:
getHttpResponseHeaders
in interfaceSlackApiResponse
-
getDeprecatedArgument
-
getErrors
-
getResponseMetadata
-
getChannel
-
getTs
-
getMessage
-
setOk
public void setOk(boolean ok) - Specified by:
setOk
in interfaceSlackApiTextResponse
-
setWarning
- Specified by:
setWarning
in interfaceSlackApiTextResponse
-
setError
- Specified by:
setError
in interfaceSlackApiTextResponse
-
setNeeded
- Specified by:
setNeeded
in interfaceSlackApiTextResponse
-
setProvided
- Specified by:
setProvided
in interfaceSlackApiTextResponse
-
setHttpResponseHeaders
Description copied from interface:SlackApiResponse
Sets the response headers. Pass a Map object with lower-cased keys.- Specified by:
setHttpResponseHeaders
in interfaceSlackApiResponse
-
setDeprecatedArgument
-
setErrors
-
setResponseMetadata
-
setChannel
-
setTs
-
setMessage
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-