Class ChatDeleteRequest

java.lang.Object
com.slack.api.methods.request.chat.ChatDeleteRequest
All Implemented Interfaces:
SlackApiRequest

public class ChatDeleteRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/chat.delete
  • Method Details

    • isAsUser

      public Boolean isAsUser()
    • setAsUser

      public void setAsUser(Boolean asUser)
    • builder

    • getToken

      public String getToken()
      Authentication token. Requires scope: `chat:write`
      Specified by:
      getToken in interface SlackApiRequest
      Returns:
      token string value or null
    • getTs

      public String getTs()
      Timestamp of the message to be deleted.
    • getChannel

      public String getChannel()
      Channel containing the message to be deleted.
    • setToken

      public void setToken(String token)
      Authentication token. Requires scope: `chat:write`
      Specified by:
      setToken in interface SlackApiRequest
    • setTs

      public void setTs(String ts)
      Timestamp of the message to be deleted.
    • setChannel

      public void setChannel(String channel)
      Channel containing the message to be deleted.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object