Class SlashCommandResponse
java.lang.Object
com.slack.api.app_backend.slash_commands.response.SlashCommandResponse
https://docs.slack.dev/messaging/creating-interactive-messages
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSlashCommandResponse(String responseType, String text, List<Attachment> attachments, List<LayoutBlock> blocks, Message.Metadata metadata, String threadTs) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleangetText()inthashCode()voidsetAttachments(List<Attachment> attachments) voidsetBlocks(List<LayoutBlock> blocks) voidsetMetadata(Message.Metadata metadata) voidsetResponseType(String responseType) voidvoidsetThreadTs(String threadTs) toString()
-
Constructor Details
-
SlashCommandResponse
public SlashCommandResponse(String responseType, String text, List<Attachment> attachments, List<LayoutBlock> blocks, Message.Metadata metadata, String threadTs) -
SlashCommandResponse
public SlashCommandResponse()
-
-
Method Details
-
builder
-
getResponseType
-
getText
-
getAttachments
-
getBlocks
-
getMetadata
-
getThreadTs
-
setResponseType
-
setText
-
setAttachments
-
setBlocks
-
setMetadata
-
setThreadTs
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-