Class ReactionsAddRequest
java.lang.Object
com.slack.api.methods.request.reactions.ReactionsAddRequest
- All Implemented Interfaces:
SlackApiRequest
public class ReactionsAddRequest extends Object implements SlackApiRequest
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReactionsAddRequest.ReactionsAddRequestBuilder
-
Method Summary
Modifier and Type Method Description static ReactionsAddRequest.ReactionsAddRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getChannel()
Channel where the message to add reaction to was posted.String
getFile()
File to add reaction to.String
getFileComment()
File comment to add reaction to.String
getName()
Reaction (emoji) name.String
getTimestamp()
Timestamp of the message to add reaction to.String
getToken()
Authentication token.int
hashCode()
void
setChannel(String channel)
Channel where the message to add reaction to was posted.void
setFile(String file)
File to add reaction to.void
setFileComment(String fileComment)
File comment to add reaction to.void
setName(String name)
Reaction (emoji) name.void
setTimestamp(String timestamp)
Timestamp of the message to add reaction to.void
setToken(String token)
Authentication token.String
toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `reactions:write`- Specified by:
getToken
in interfaceSlackApiRequest
-
getName
Reaction (emoji) name. -
getFile
File to add reaction to. -
getFileComment
File comment to add reaction to. -
getChannel
Channel where the message to add reaction to was posted. -
getTimestamp
Timestamp of the message to add reaction to. -
setToken
Authentication token. Requires scope: `reactions:write` -
setName
Reaction (emoji) name. -
setFile
File to add reaction to. -
setFileComment
File comment to add reaction to. -
setChannel
Channel where the message to add reaction to was posted. -
setTimestamp
Timestamp of the message to add reaction to. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-