Class StarsAddRequest.StarsAddRequestBuilder
java.lang.Object
com.slack.api.methods.request.stars.StarsAddRequest.StarsAddRequestBuilder
- Enclosing class:
- StarsAddRequest
public static class StarsAddRequest.StarsAddRequestBuilder extends Object
-
Method Summary
Modifier and Type Method Description StarsAddRequest
build()
StarsAddRequest.StarsAddRequestBuilder
channel(String channel)
Channel to add star to, or channel where the message to add star to was posted (used with `timestamp`).StarsAddRequest.StarsAddRequestBuilder
file(String file)
File to add star to.StarsAddRequest.StarsAddRequestBuilder
fileComment(String fileComment)
File comment to add star to.StarsAddRequest.StarsAddRequestBuilder
timestamp(String timestamp)
Timestamp of the message to add star to.StarsAddRequest.StarsAddRequestBuilder
token(String token)
Authentication token.String
toString()
-
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
-