Class ChatStopStreamRequest.ChatStopStreamRequestBuilder
java.lang.Object
com.slack.api.methods.request.chat.ChatStopStreamRequest.ChatStopStreamRequestBuilder
- Enclosing class:
- ChatStopStreamRequest
-
Method Summary
Modifier and TypeMethodDescriptionblocks(List<LayoutBlock> blocks) A JSON-based array of structured blocks that will be rendered at the bottom of the finalized message, presented as a URL-encoded string.blocksAsString(String blocksAsString) A JSON-based array of structured blocks as a String that will be rendered at the bottom of the finalized message, presented as a URL-encoded string.build()An encoded ID that represents a channel, private group, or DM.markdownText(String markdownText) Accepts message text formatted in markdown.metadata(Message.Metadata metadata) JSON object with event_type and event_payload fields, presented as a URL-encoded string.metadataAsString(String metadataAsString) JSON object with event_type and event_payload fields, presented as a URL-encoded string.Authentication token.toString()The timestamp of the streaming message.
-
Method Details
-
token
Authentication token. Requires scope: `chat:write`- Returns:
this.
-
channel
An encoded ID that represents a channel, private group, or DM.- Returns:
this.
-
ts
The timestamp of the streaming message.- Returns:
this.
-
markdownText
Accepts message text formatted in markdown. Limit this field to 12,000 characters.- Returns:
this.
-
metadata
JSON object with event_type and event_payload fields, presented as a URL-encoded string. Metadata you post to Slack is accessible to any app or user who is a member of that workspace.- Returns:
this.
-
metadataAsString
JSON object with event_type and event_payload fields, presented as a URL-encoded string. Metadata you post to Slack is accessible to any app or user who is a member of that workspace.- Returns:
this.
-
blocks
A JSON-based array of structured blocks that will be rendered at the bottom of the finalized message, presented as a URL-encoded string.- Returns:
this.
-
blocksAsString
A JSON-based array of structured blocks as a String that will be rendered at the bottom of the finalized message, presented as a URL-encoded string.- Returns:
this.
-
build
-
toString
-