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 classReactionsAddRequest.ReactionsAddRequestBuilder -
Method Summary
Modifier and Type Method Description static ReactionsAddRequest.ReactionsAddRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetChannel()Channel where the message to add reaction to was posted.StringgetFile()File to add reaction to.StringgetFileComment()File comment to add reaction to.StringgetName()Reaction (emoji) name.StringgetTimestamp()Timestamp of the message to add reaction to.StringgetToken()Authentication token.inthashCode()voidsetChannel(String channel)Channel where the message to add reaction to was posted.voidsetFile(String file)File to add reaction to.voidsetFileComment(String fileComment)File comment to add reaction to.voidsetName(String name)Reaction (emoji) name.voidsetTimestamp(String timestamp)Timestamp of the message to add reaction to.voidsetToken(String token)Authentication token.StringtoString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `reactions:write`- Specified by:
getTokenin 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
-