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 classChatDeleteRequest.ChatDeleteRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChatDeleteRequest.ChatDeleteRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetChannel()Channel containing the message to be deleted.StringgetToken()Authentication token.StringgetTs()Timestamp of the message to be deleted.inthashCode()BooleanisAsUser()voidsetAsUser(Boolean asUser)voidsetChannel(String channel)Channel containing the message to be deleted.voidsetToken(String token)Authentication token.voidsetTs(String ts)Timestamp of the message to be deleted.StringtoString()
-
-
-
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:
getTokenin 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)
-
-