Class ChatStopStreamRequest

java.lang.Object
com.slack.api.methods.request.chat.ChatStopStreamRequest
All Implemented Interfaces:
SlackApiRequest

public class ChatStopStreamRequest extends Object implements SlackApiRequest
https://docs.slack.dev/reference/methods/chat.stopStream
  • Method Details

    • builder

    • getToken

      public String getToken()
      Authentication token. Requires scope: `chat:write`
      Specified by:
      getToken in interface SlackApiRequest
      Returns:
      token string value or null
    • getChannel

      public String getChannel()
      An encoded ID that represents a channel, private group, or DM.
    • getTs

      public String getTs()
      The timestamp of the streaming message.
    • getMarkdownText

      public String getMarkdownText()
      Accepts message text formatted in markdown. Limit this field to 12,000 characters.
    • getMetadata

      public Message.Metadata 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

      public String 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

      public List<LayoutBlock> 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

      public 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

      public void setToken(String token)
      Authentication token. Requires scope: `chat:write`
      Specified by:
      setToken in interface SlackApiRequest
    • setChannel

      public void setChannel(String channel)
      An encoded ID that represents a channel, private group, or DM.
    • setTs

      public void setTs(String ts)
      The timestamp of the streaming message.
    • setMarkdownText

      public void setMarkdownText(String markdownText)
      Accepts message text formatted in markdown. Limit this field to 12,000 characters.
    • setMetadata

      public void setMetadata(Message.Metadata 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.
    • setMetadataAsString

      public void setMetadataAsString(String 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.
    • setBlocks

      public void setBlocks(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.
    • setBlocksAsString

      public void setBlocksAsString(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.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object