Class ChatGetPermalinkRequest
java.lang.Object
com.slack.api.methods.request.chat.ChatGetPermalinkRequest
- All Implemented Interfaces:
SlackApiRequest
public class ChatGetPermalinkRequest extends java.lang.Object implements SlackApiRequest
A request to retrieve a permalink URL for a specific extant message
- See Also:
- Slack chat.getPermalink API
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChatGetPermalinkRequest.ChatGetPermalinkRequestBuilder -
Method Summary
Modifier and Type Method Description static ChatGetPermalinkRequest.ChatGetPermalinkRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetChannel()The ID of the conversation or channel containing the messagejava.lang.StringgetMessageTs()A message's `ts` value, uniquely identifying it within a channeljava.lang.StringgetToken()Authentication token.inthashCode()voidsetChannel(java.lang.String channel)The ID of the conversation or channel containing the messagevoidsetMessageTs(java.lang.String messageTs)A message's `ts` value, uniquely identifying it within a channelvoidsetToken(java.lang.String token)Authentication token.java.lang.StringtoString()
-
Method Details
-
builder
-
getToken
public java.lang.String getToken()Authentication token. Requires scope: `none`- Specified by:
getTokenin interfaceSlackApiRequest
-
getChannel
public java.lang.String getChannel()The ID of the conversation or channel containing the message -
getMessageTs
public java.lang.String getMessageTs()A message's `ts` value, uniquely identifying it within a channel -
setToken
public void setToken(java.lang.String token)Authentication token. Requires scope: `none` -
setChannel
public void setChannel(java.lang.String channel)The ID of the conversation or channel containing the message -
setMessageTs
public void setMessageTs(java.lang.String messageTs)A message's `ts` value, uniquely identifying it within a channel -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-