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 class  ChatGetPermalinkRequest.ChatGetPermalinkRequestBuilder  
  • Method Summary

    Modifier and Type Method Description
    static ChatGetPermalinkRequest.ChatGetPermalinkRequestBuilder builder()  
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getChannel()
    The ID of the conversation or channel containing the message
    java.lang.String getMessageTs()
    A message's `ts` value, uniquely identifying it within a channel
    java.lang.String getToken()
    Authentication token.
    int hashCode()  
    void setChannel​(java.lang.String channel)
    The ID of the conversation or channel containing the message
    void setMessageTs​(java.lang.String messageTs)
    A message's `ts` value, uniquely identifying it within a channel
    void setToken​(java.lang.String token)
    Authentication token.
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • builder

    • getToken

      public java.lang.String getToken()
      Authentication token. Requires scope: `none`
      Specified by:
      getToken in interface SlackApiRequest
    • 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:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object