Class AssistantThreadsSetSuggestedPromptsRequest
java.lang.Object
com.slack.api.methods.request.assistant.threads.AssistantThreadsSetSuggestedPromptsRequest
- All Implemented Interfaces:
SlackApiRequest
https://docs.slack.dev/reference/methods/assistant.threads.setSuggestedPrompts
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanChannel ID containing the assistant thread.The suggested prompts.Message timestamp of the thread of where to set the status.getTitle()Title for the prompts.getToken()Returns a token in this request object.inthashCode()voidsetChannelId(String channelId) Channel ID containing the assistant thread.voidsetPrompts(List<SuggestedPrompt> prompts) The suggested prompts.voidsetThreadTs(String threadTs) Message timestamp of the thread of where to set the status.voidTitle for the prompts.voidUpdates the token in this request object.toString()
-
Method Details
-
builder
public static AssistantThreadsSetSuggestedPromptsRequest.AssistantThreadsSetSuggestedPromptsRequestBuilder builder() -
getToken
Description copied from interface:SlackApiRequestReturns a token in this request object. If the API endpoint does not require a token (e.g., api.test), this method can return null.- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getChannelId
Channel ID containing the assistant thread. -
getThreadTs
Message timestamp of the thread of where to set the status. -
getTitle
Title for the prompts. Like Suggested Prompts, Related questions -
getPrompts
The suggested prompts. -
setToken
Description copied from interface:SlackApiRequestUpdates the token in this request object.The default implementation throws
UnsupportedOperationException. All the built-in implementing classes overrides this method in a proper way.- Specified by:
setTokenin interfaceSlackApiRequest
-
setChannelId
Channel ID containing the assistant thread. -
setThreadTs
Message timestamp of the thread of where to set the status. -
setTitle
Title for the prompts. Like Suggested Prompts, Related questions -
setPrompts
The suggested prompts. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-