Class ChatStartStreamRequest

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

public class ChatStartStreamRequest extends Object implements SlackApiRequest
https://docs.slack.dev/reference/methods/chat.startStream
  • 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.
    • getThreadTs

      public String getThreadTs()
      Provide another message's `ts` value to reply to. Streamed messages should always be replies to a user request.
    • getMarkdownText

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

      public String getRecipientUserId()
      The encoded ID of the user to receive the streaming text. Required when streaming to channels.
    • getRecipientTeamId

      public String getRecipientTeamId()
      The encoded ID of the team the user receiving the streaming text belongs to. Required when streaming to channels.
    • 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.
    • setThreadTs

      public void setThreadTs(String threadTs)
      Provide another message's `ts` value to reply to. Streamed messages should always be replies to a user request.
    • setMarkdownText

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

      public void setRecipientUserId(String recipientUserId)
      The encoded ID of the user to receive the streaming text. Required when streaming to channels.
    • setRecipientTeamId

      public void setRecipientTeamId(String recipientTeamId)
      The encoded ID of the team the user receiving the streaming text belongs to. Required when streaming to channels.
    • 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