Class ReactionsAddRequest.ReactionsAddRequestBuilder
java.lang.Object
com.slack.api.methods.request.reactions.ReactionsAddRequest.ReactionsAddRequestBuilder
- Enclosing class:
- ReactionsAddRequest
public static class ReactionsAddRequest.ReactionsAddRequestBuilder extends Object
-
Method Summary
Modifier and Type Method Description ReactionsAddRequest
build()
ReactionsAddRequest.ReactionsAddRequestBuilder
channel(String channel)
Channel where the message to add reaction to was posted.ReactionsAddRequest.ReactionsAddRequestBuilder
file(String file)
Deprecated.ReactionsAddRequest.ReactionsAddRequestBuilder
fileComment(String fileComment)
Deprecated.ReactionsAddRequest.ReactionsAddRequestBuilder
name(String name)
Reaction (emoji) name.ReactionsAddRequest.ReactionsAddRequestBuilder
timestamp(String timestamp)
Timestamp of the message to add reaction to.ReactionsAddRequest.ReactionsAddRequestBuilder
token(String token)
Authentication token.String
toString()
-
Method Details
-
token
Authentication token. Requires scope: `reactions:write`- Returns:
this
.
-
name
Reaction (emoji) name.- Returns:
this
.
-
file
Deprecated.File to add reaction to.- Returns:
this
.
-
fileComment
Deprecated.File comment to add reaction to.- Returns:
this
.
-
channel
Channel where the message to add reaction to was posted.- Returns:
this
.
-
timestamp
Timestamp of the message to add reaction to.- Returns:
this
.
-
build
-
toString
-