Class PinsAddRequest.PinsAddRequestBuilder
java.lang.Object
com.slack.api.methods.request.pins.PinsAddRequest.PinsAddRequestBuilder
- Enclosing class:
- PinsAddRequest
public static class PinsAddRequest.PinsAddRequestBuilder extends Object
-
Method Summary
Modifier and Type Method Description PinsAddRequestbuild()PinsAddRequest.PinsAddRequestBuilderchannel(String channel)Channel to pin the item in.PinsAddRequest.PinsAddRequestBuilderfile(String file)Deprecated.PinsAddRequest.PinsAddRequestBuilderfileComment(String fileComment)Deprecated.PinsAddRequest.PinsAddRequestBuildertimestamp(String timestamp)Timestamp of the message to pin.PinsAddRequest.PinsAddRequestBuildertoken(String token)Authentication token.StringtoString()
-
Method Details
-
token
Authentication token. Requires scope: `pins:write`- Returns:
this.
-
channel
Channel to pin the item in.- Returns:
this.
-
file
Deprecated.File to pin.- Returns:
this.
-
fileComment
Deprecated.File comment to pin.- Returns:
this.
-
timestamp
Timestamp of the message to pin.- Returns:
this.
-
build
-
toString
-