Class StarsAddRequest.StarsAddRequestBuilder
java.lang.Object
com.slack.api.methods.request.stars.StarsAddRequest.StarsAddRequestBuilder
- Enclosing class:
- StarsAddRequest
public static class StarsAddRequest.StarsAddRequestBuilder
extends java.lang.Object
-
Method Summary
Modifier and Type Method Description StarsAddRequestbuild()StarsAddRequest.StarsAddRequestBuilderchannel(java.lang.String channel)Channel to add star to, or channel where the message to add star to was posted (used with `timestamp`).StarsAddRequest.StarsAddRequestBuilderfile(java.lang.String file)File to add star to.StarsAddRequest.StarsAddRequestBuilderfileComment(java.lang.String fileComment)File comment to add star to.StarsAddRequest.StarsAddRequestBuildertimestamp(java.lang.String timestamp)Timestamp of the message to add star to.StarsAddRequest.StarsAddRequestBuildertoken(java.lang.String token)Authentication token.java.lang.StringtoString()
-
Method Details
-
token
Authentication token. Requires scope: `stars:write`- Returns:
this.
-
file
File to add star to.- Returns:
this.
-
fileComment
File comment to add star to.- Returns:
this.
-
channel
Channel to add star to, or channel where the message to add star to was posted (used with `timestamp`).- Returns:
this.
-
timestamp
Timestamp of the message to add star to.- Returns:
this.
-
build
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-