Class PinsAddRequest
java.lang.Object
com.slack.api.methods.request.pins.PinsAddRequest
- All Implemented Interfaces:
SlackApiRequest
https://docs.slack.dev/reference/methods/pins.add
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanChannel to pin the item in.getFile()Deprecated.Deprecated.Timestamp of the message to pin.getToken()Authentication token.inthashCode()voidsetChannel(String channel) Channel to pin the item in.voidDeprecated.voidsetFileComment(String fileComment) Deprecated.voidsetTimestamp(String timestamp) Timestamp of the message to pin.voidAuthentication token.toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `pins:write`- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getChannel
Channel to pin the item in. -
getFile
Deprecated.File to pin. -
getFileComment
Deprecated.File comment to pin. -
getTimestamp
Timestamp of the message to pin. -
setToken
Authentication token. Requires scope: `pins:write`- Specified by:
setTokenin interfaceSlackApiRequest
-
setChannel
Channel to pin the item in. -
setFile
Deprecated.File to pin. -
setFileComment
Deprecated.File comment to pin. -
setTimestamp
Timestamp of the message to pin. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-