Class SlashCommandResponse
java.lang.Object
com.slack.api.app_backend.slash_commands.response.SlashCommandResponse
public class SlashCommandResponse extends Object
https://api.slack.com/docs/interactive-message-field-guide
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSlashCommandResponse.SlashCommandResponseBuilder -
Constructor Summary
Constructors Constructor Description SlashCommandResponse()SlashCommandResponse(String responseType, String text, List<Attachment> attachments, List<LayoutBlock> blocks) -
Method Summary
Modifier and Type Method Description static SlashCommandResponse.SlashCommandResponseBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)List<Attachment>getAttachments()List<LayoutBlock>getBlocks()StringgetResponseType()StringgetText()inthashCode()voidsetAttachments(List<Attachment> attachments)voidsetBlocks(List<LayoutBlock> blocks)voidsetResponseType(String responseType)voidsetText(String text)StringtoString()
-
Constructor Details
-
SlashCommandResponse
public SlashCommandResponse(String responseType, String text, List<Attachment> attachments, List<LayoutBlock> blocks) -
SlashCommandResponse
public SlashCommandResponse()
-
-
Method Details
-
builder
-
getResponseType
-
getText
-
getAttachments
-
getBlocks
-
setResponseType
-
setText
-
setAttachments
-
setBlocks
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-