Class ChatDeleteRequest
- java.lang.Object
-
- com.slack.api.methods.request.chat.ChatDeleteRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class ChatDeleteRequest extends Object implements SlackApiRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChatDeleteRequest.ChatDeleteRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChatDeleteRequest.ChatDeleteRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getChannel()
Channel containing the message to be deleted.String
getToken()
Authentication token.String
getTs()
Timestamp of the message to be deleted.int
hashCode()
Boolean
isAsUser()
void
setAsUser(Boolean asUser)
void
setChannel(String channel)
Channel containing the message to be deleted.void
setToken(String token)
Authentication token.void
setTs(String ts)
Timestamp of the message to be deleted.String
toString()
-
-
-
Method Detail
-
isAsUser
public Boolean isAsUser()
-
setAsUser
public void setAsUser(Boolean asUser)
-
builder
public static ChatDeleteRequest.ChatDeleteRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `chat:write`- Specified by:
getToken
in interfaceSlackApiRequest
-
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`
-
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.
-
canEqual
protected boolean canEqual(Object other)
-
-