Package com.slack.api.bolt.context
Interface SayUtility
- All Known Implementing Classes:
AttachmentActionContext,DialogCancellationContext,DialogSubmissionContext,EventContext,MessageShortcutContext,SlashCommandContext
public interface SayUtility
-
Method Summary
Modifier and TypeMethodDescriptionclient()default ChatPostMessageResponsedefault ChatPostMessageResponsesay(String text, List<LayoutBlock> blocks) default ChatPostMessageResponsesay(List<LayoutBlock> blocks) Using `say(blocks, text)` instead is highly recommended for even better user experience.default void
-
Method Details
-
getChannelId
String getChannelId() -
client
MethodsClient client() -
say
- Throws:
IOExceptionSlackApiException
-
say
Using `say(blocks, text)` instead is highly recommended for even better user experience.- Throws:
IOExceptionSlackApiException
-
say
default ChatPostMessageResponse say(String text, List<LayoutBlock> blocks) throws IOException, SlackApiException - Throws:
IOExceptionSlackApiException
-
verifyChannelId
default void verifyChannelId()
-