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