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
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 Details
-
isAsUser
-
setAsUser
-
builder
-
getToken
Authentication token. Requires scope: `chat:write`- Specified by:
getToken
in interfaceSlackApiRequest
-
getTs
Timestamp of the message to be deleted. -
getChannel
Channel containing the message to be deleted. -
setToken
Authentication token. Requires scope: `chat:write` -
setTs
Timestamp of the message to be deleted. -
setChannel
Channel containing the message to be deleted. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-