Class ReactionsAddRequest.ReactionsAddRequestBuilder
java.lang.Object
com.slack.api.methods.request.reactions.ReactionsAddRequest.ReactionsAddRequestBuilder
- Enclosing class:
- ReactionsAddRequest
public static class ReactionsAddRequest.ReactionsAddRequestBuilder
extends java.lang.Object
-
Method Summary
Modifier and Type Method Description ReactionsAddRequestbuild()ReactionsAddRequest.ReactionsAddRequestBuilderchannel(java.lang.String channel)Channel where the message to add reaction to was posted.ReactionsAddRequest.ReactionsAddRequestBuilderfile(java.lang.String file)Deprecated.ReactionsAddRequest.ReactionsAddRequestBuilderfileComment(java.lang.String fileComment)Deprecated.ReactionsAddRequest.ReactionsAddRequestBuildername(java.lang.String name)Reaction (emoji) name.ReactionsAddRequest.ReactionsAddRequestBuildertimestamp(java.lang.String timestamp)Timestamp of the message to add reaction to.ReactionsAddRequest.ReactionsAddRequestBuildertoken(java.lang.String token)Authentication token.java.lang.StringtoString()
-
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 public ReactionsAddRequest.ReactionsAddRequestBuilder fileComment(java.lang.String 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
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-