public static class ChatDeleteRequest.ChatDeleteRequestBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
ChatDeleteRequest.ChatDeleteRequestBuilder |
asUser(Boolean asUser)
Pass true to post the message as the authed user, instead of as a bot.
|
ChatDeleteRequest |
build() |
ChatDeleteRequest.ChatDeleteRequestBuilder |
channel(String channel)
Channel containing the message to be deleted.
|
ChatDeleteRequest.ChatDeleteRequestBuilder |
token(String token)
Authentication token.
|
String |
toString() |
ChatDeleteRequest.ChatDeleteRequestBuilder |
ts(String ts)
Timestamp of the message to be deleted.
|
public ChatDeleteRequest.ChatDeleteRequestBuilder token(String token)
public ChatDeleteRequest.ChatDeleteRequestBuilder ts(String ts)
public ChatDeleteRequest.ChatDeleteRequestBuilder channel(String channel)
public ChatDeleteRequest.ChatDeleteRequestBuilder asUser(Boolean asUser)
NOTE: The default value is intentionally null to support workplace apps.
public ChatDeleteRequest build()
Copyright © 2020. All rights reserved.