public class ChatScheduleMessageRequest extends Object implements SlackApiRequest
| Modifier and Type | Class and Description |
|---|---|
static class |
ChatScheduleMessageRequest.ChatScheduleMessageRequestBuilder |
| Modifier and Type | Method and Description |
|---|---|
static ChatScheduleMessageRequest.ChatScheduleMessageRequestBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<Attachment> |
getAttachments()
A JSON-based array of structured attachments, presented as a URL-encoded string.
|
String |
getAttachmentsAsString()
A JSON-based array of structured attachments, presented as a URL-encoded string.
|
List<LayoutBlock> |
getBlocks()
A JSON-based array of structured blocks, presented as a URL-encoded string.
|
String |
getBlocksAsString()
A JSON-based array of structured blocks as a String, presented as a URL-encoded string.
|
String |
getChannel()
Channel, private group, or DM channel to send message to.
|
String |
getParse()
Change how messages are treated.
|
Integer |
getPostAt()
Unix EPOCH timestamp of time in future to send the message.
|
String |
getText()
Text of the message to send.
|
String |
getThreadTs()
Provide another message's ts value to make this message a reply.
|
String |
getToken()
Authentication token.
|
int |
hashCode() |
Boolean |
isAsUser() |
boolean |
isLinkNames()
Find and link channel names and usernames.
|
boolean |
isReplyBroadcast()
Used in conjunction with thread_ts and indicates whether reply should be made visible to everyone
in the channel or conversation.
|
boolean |
isUnfurlLinks()
Pass true to enable unfurling of primarily text-based content.
|
boolean |
isUnfurlMedia()
Pass false to disable unfurling of media content.
|
void |
setAsUser(Boolean asUser) |
void |
setAttachments(List<Attachment> attachments)
A JSON-based array of structured attachments, presented as a URL-encoded string.
|
void |
setAttachmentsAsString(String attachmentsAsString)
A JSON-based array of structured attachments, presented as a URL-encoded string.
|
void |
setBlocks(List<LayoutBlock> blocks)
A JSON-based array of structured blocks, presented as a URL-encoded string.
|
void |
setBlocksAsString(String blocksAsString)
A JSON-based array of structured blocks as a String, presented as a URL-encoded string.
|
void |
setChannel(String channel)
Channel, private group, or DM channel to send message to.
|
void |
setLinkNames(boolean linkNames)
Find and link channel names and usernames.
|
void |
setParse(String parse)
Change how messages are treated.
|
void |
setPostAt(Integer postAt)
Unix EPOCH timestamp of time in future to send the message.
|
void |
setReplyBroadcast(boolean replyBroadcast)
Used in conjunction with thread_ts and indicates whether reply should be made visible to everyone
in the channel or conversation.
|
void |
setText(String text)
Text of the message to send.
|
void |
setThreadTs(String threadTs)
Provide another message's ts value to make this message a reply.
|
void |
setToken(String token)
Authentication token.
|
void |
setUnfurlLinks(boolean unfurlLinks)
Pass true to enable unfurling of primarily text-based content.
|
void |
setUnfurlMedia(boolean unfurlMedia)
Pass false to disable unfurling of media content.
|
String |
toString() |
public Boolean isAsUser()
public void setAsUser(Boolean asUser)
public static ChatScheduleMessageRequest.ChatScheduleMessageRequestBuilder builder()
public String getToken()
getToken in interface SlackApiRequestpublic String getChannel()
public Integer getPostAt()
public String getText()
public List<Attachment> getAttachments()
public String getAttachmentsAsString()
public List<LayoutBlock> getBlocks()
public String getBlocksAsString()
public boolean isLinkNames()
public String getParse()
public boolean isReplyBroadcast()
public String getThreadTs()
public boolean isUnfurlLinks()
public boolean isUnfurlMedia()
public void setToken(String token)
public void setChannel(String channel)
public void setPostAt(Integer postAt)
public void setText(String text)
public void setAttachments(List<Attachment> attachments)
public void setAttachmentsAsString(String attachmentsAsString)
public void setBlocks(List<LayoutBlock> blocks)
public void setBlocksAsString(String blocksAsString)
public void setLinkNames(boolean linkNames)
public void setParse(String parse)
public void setReplyBroadcast(boolean replyBroadcast)
public void setThreadTs(String threadTs)
public void setUnfurlLinks(boolean unfurlLinks)
public void setUnfurlMedia(boolean unfurlMedia)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.