Class ChatStopStreamRequest
java.lang.Object
com.slack.api.methods.request.chat.ChatStopStreamRequest
- All Implemented Interfaces:
SlackApiRequest
https://docs.slack.dev/reference/methods/chat.stopStream
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanA JSON-based array of structured blocks that will be rendered at the bottom of the finalized message, presented as a URL-encoded string.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.An encoded ID that represents a channel, private group, or DM.Accepts message text formatted in markdown.JSON object with event_type and event_payload fields, presented as a URL-encoded string.JSON object with event_type and event_payload fields, presented as a URL-encoded string.getToken()Authentication token.getTs()The timestamp of the streaming message.inthashCode()voidsetBlocks(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.voidsetBlocksAsString(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.voidsetChannel(String channel) An encoded ID that represents a channel, private group, or DM.voidsetMarkdownText(String markdownText) Accepts message text formatted in markdown.voidsetMetadata(Message.Metadata metadata) JSON object with event_type and event_payload fields, presented as a URL-encoded string.voidsetMetadataAsString(String metadataAsString) JSON object with event_type and event_payload fields, presented as a URL-encoded string.voidAuthentication token.voidThe timestamp of the streaming message.toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `chat:write`- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getChannel
An encoded ID that represents a channel, private group, or DM. -
getTs
The timestamp of the streaming message. -
getMarkdownText
Accepts message text formatted in markdown. Limit this field to 12,000 characters. -
getMetadata
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. -
getMetadataAsString
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. -
getBlocks
A JSON-based array of structured blocks that will be rendered at the bottom of the finalized message, presented as a URL-encoded string. -
getBlocksAsString
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. -
setToken
Authentication token. Requires scope: `chat:write`- Specified by:
setTokenin interfaceSlackApiRequest
-
setChannel
An encoded ID that represents a channel, private group, or DM. -
setTs
The timestamp of the streaming message. -
setMarkdownText
Accepts message text formatted in markdown. Limit this field to 12,000 characters. -
setMetadata
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. -
setMetadataAsString
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. -
setBlocks
A JSON-based array of structured blocks that will be rendered at the bottom of the finalized message, presented as a URL-encoded string. -
setBlocksAsString
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. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-