Class StarsRemoveRequest.StarsRemoveRequestBuilder
- java.lang.Object
-
- com.slack.api.methods.request.stars.StarsRemoveRequest.StarsRemoveRequestBuilder
-
- Enclosing class:
- StarsRemoveRequest
public static class StarsRemoveRequest.StarsRemoveRequestBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StarsRemoveRequest
build()
StarsRemoveRequest.StarsRemoveRequestBuilder
channel(String channel)
Channel to remove star from, or channel where the message to remove star from was posted (used with `timestamp`).StarsRemoveRequest.StarsRemoveRequestBuilder
file(String file)
File to remove star from.StarsRemoveRequest.StarsRemoveRequestBuilder
fileComment(String fileComment)
File comment to remove star from.StarsRemoveRequest.StarsRemoveRequestBuilder
timestamp(String timestamp)
Timestamp of the message to remove star from.StarsRemoveRequest.StarsRemoveRequestBuilder
token(String token)
Authentication token.String
toString()
-
-
-
Method Detail
-
token
public StarsRemoveRequest.StarsRemoveRequestBuilder token(String token)
Authentication token. Requires scope: `stars:write`- Returns:
this
.
-
file
public StarsRemoveRequest.StarsRemoveRequestBuilder file(String file)
File to remove star from.- Returns:
this
.
-
fileComment
public StarsRemoveRequest.StarsRemoveRequestBuilder fileComment(String fileComment)
File comment to remove star from.- Returns:
this
.
-
channel
public StarsRemoveRequest.StarsRemoveRequestBuilder channel(String channel)
Channel to remove star from, or channel where the message to remove star from was posted (used with `timestamp`).- Returns:
this
.
-
timestamp
public StarsRemoveRequest.StarsRemoveRequestBuilder timestamp(String timestamp)
Timestamp of the message to remove star from.- Returns:
this
.
-
build
public StarsRemoveRequest build()
-
-