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
All Methods Static Methods Instance Methods Concrete Methods 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 Detail
-
builder
public static ReactionsAddRequest.ReactionsAddRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `reactions:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
getName
public String getName()
Reaction (emoji) name.
-
getFile
public String getFile()
File to add reaction to.
-
getFileComment
public String getFileComment()
File comment to add reaction to.
-
getChannel
public String getChannel()
Channel where the message to add reaction to was posted.
-
getTimestamp
public String getTimestamp()
Timestamp of the message to add reaction to.
-
setToken
public void setToken(String token)
Authentication token. Requires scope: `reactions:write`
-
setName
public void setName(String name)
Reaction (emoji) name.
-
setFile
public void setFile(String file)
File to add reaction to.
-
setFileComment
public void setFileComment(String fileComment)
File comment to add reaction to.
-
setChannel
public void setChannel(String channel)
Channel where the message to add reaction to was posted.
-
setTimestamp
public void setTimestamp(String timestamp)
Timestamp of the message to add reaction to.
-
canEqual
protected boolean canEqual(Object other)
-
-