Class ChatStartStreamRequest
java.lang.Object
com.slack.api.methods.request.chat.ChatStartStreamRequest
- All Implemented Interfaces:
SlackApiRequest
https://docs.slack.dev/reference/methods/chat.startStream
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanAn encoded ID that represents a channel, private group, or DM.Accepts message text formatted in markdown.The encoded ID of the team the user receiving the streaming text belongs to.The encoded ID of the user to receive the streaming text.Provide another message's `ts` value to reply to.getToken()Authentication token.inthashCode()voidsetChannel(String channel) An encoded ID that represents a channel, private group, or DM.voidsetMarkdownText(String markdownText) Accepts message text formatted in markdown.voidsetRecipientTeamId(String recipientTeamId) The encoded ID of the team the user receiving the streaming text belongs to.voidsetRecipientUserId(String recipientUserId) The encoded ID of the user to receive the streaming text.voidsetThreadTs(String threadTs) Provide another message's `ts` value to reply to.voidAuthentication token.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. -
getThreadTs
Provide another message's `ts` value to reply to. Streamed messages should always be replies to a user request. -
getMarkdownText
Accepts message text formatted in markdown. Limit this field to 12,000 characters. -
getRecipientUserId
The encoded ID of the user to receive the streaming text. Required when streaming to channels. -
getRecipientTeamId
The encoded ID of the team the user receiving the streaming text belongs to. Required when streaming to channels. -
setToken
Authentication token. Requires scope: `chat:write`- Specified by:
setTokenin interfaceSlackApiRequest
-
setChannel
An encoded ID that represents a channel, private group, or DM. -
setThreadTs
Provide another message's `ts` value to reply to. Streamed messages should always be replies to a user request. -
setMarkdownText
Accepts message text formatted in markdown. Limit this field to 12,000 characters. -
setRecipientUserId
The encoded ID of the user to receive the streaming text. Required when streaming to channels. -
setRecipientTeamId
The encoded ID of the team the user receiving the streaming text belongs to. Required when streaming to channels. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-